|28 Apr 2012||#1|
| || |
Batch file or Exe to copy & rename directory and update files
I require a batch file or free utility that i can redistribute from my web site to other users, (gamers) that will copy the contents of a directory inside their game to a new location and re-name the directory at the same time. Something like this;
Copy "Genesis\Vehicles\truck\diesel\4tonbaker" to "Genesis\Vehicles\truck\diesel\4tonbutcher"
The batch file needs to be run without the need for a command line box being opened, that is, if the user can double click on it or run it with a 'right click' that would be great. Problem there is, I maybe need an exe file not a batch file. The other part of the problem is that the folder to be copied may or may not be in the same location on every PC that runs the file. It may be the case that the 4tonbaker folder is on;
D:Genesis\Vehicles\truck\diesel\4tonbaker or even
and I require the end user to have no need to know, just for the directory to be copied and renamed when and where it is found.
If possible I then want the batch file to perform a second task. I want to distribute a folder, lets say it is 4tonbutcher and in that folder there are files lets say doc1.txt, doc2.txt and doc3.txt
On any given users PC 4tonbaker has these same named files but the content is different to the ones in my folder 4tonbutcher, I want to update the newly created folder, 4tonbutcher with the new txt files I distribute.
So, User downloads a folder called 4tonbutcher from my site.
Batch file copies and renames a folder from a location on the users PC, "Genesis\Vehicles\truck\diesel\4tonbaker" to "Genesis\Vehicles\truck\diesel\4tonbutcher"
Batch file copies doc1.txt, doc2.txt and doc3.txt from the downloaded folder to the newly created folder 4tonbutcher
I need this to be easy for me to do as well otherwise i would not be here asking how to accomplish this. Any ideas?
|My System Specs|
|Similar help and support threads for2: Batch file or Exe to copy & rename directory and update files|
|Batch file to copy files from C drive to USB||Backup and Restore|
|search multiple files, copy+paste to new folder (batch file software?)||General Discussion|
|a simple batch file for copy files and folders||General Discussion|
|Update (copy) file to multiple places in directory structure||General Discussion|