Copying a file to another loc?

March 3, 2009 at 12:28:34
Specs: Windows XP
I am working on a networked laptop and when i compile my program into an EXE i want to move it to a network location for testing. BUT i do not want to overwrite the existing file. Does anyone have a batch file or another way of taking the existing file on the deposited location and renaming it with a unique name and then copy over the newly compiled EXE?

See More: Copying a file to another loc?

Report •


#1
March 3, 2009 at 16:59:51
Why do you have to rename the old? Don't you keep a versoning
backup system either on your laptop or server?



Report •

#2
March 3, 2009 at 19:29:39
They want the previous version on the server for testing purposes if something is wrong with the newer version. It's not my choice but it's the company's procedure.

Report •

#3
March 4, 2009 at 01:23:23
If you just keep the prior version just rename it and copy the newer
one over. Maintaining multiple versions is harder and uses much
disk space. I used embed a version no and date in the code to
display a version code on the screen and the print out if code
changes maybe just minor changes.

Report •

Related Solutions


Ask Question