Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.
Copying a file to another loc?
Name: tjcusick Date: March 3, 2009 at 12:28:34 Pacific OS: Windows XP Subcategory: Batch
Comment:
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?
Name: wizard-fred Date: March 3, 2009 at 16:59:51 Pacific
Reply:
Why do you have to rename the old? Don't you keep a versoning backup system either on your laptop or server?
0
Response Number 2
Name: tjcusick Date: March 3, 2009 at 19:29:39 Pacific
Reply:
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.
0
Response Number 3
Name: wizard-fred Date: March 4, 2009 at 01:23:23 Pacific
Reply:
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.
Summary: I want to use a batch file to copy part of a file to another file. Specifically from html to html. The section i want to copy is surrounded by comment <!--menu-->. I want to copy from one and pu...
Summary: I want to copy a file to system 32 folder of 900 computers in a domain. copying the file needs administrative priviliges. but users of copmuters are not administrator of their machine. how can I write...