you mean like
print "target file"
input a
print "file required"
input b
delete file "c:programfolderimages"+str$(a)
copy file "images"+str$(b),"c:programfolderimages"+str$(a)
will copy and rename the new file to the same name as the old file after deleting it?, if you want to keep the original then use a rename file command instead of the erase file command , explain some more and I can maybe help more, example filenames for instance?
Mentor.
[edited] got my variables back to front. sorry

swapped a and b in last line.
PC1: P4 3ghz, 1gig mem, 3x160gig hd`s, Radeon 9800pro w cooler (3rd gfx card), 6 way speakers.
PC2: AMD 2ghz, 512mb ram, FX5200 ultra, 16 bit SB.
Mini ATX cases suck.