I've been writing my first batch file, with the purpose of archiving files and to make it easy for the users to...use. I'm down to the point where it is almost ready to deploy, hopefully.
I'm writing the batch file on my XP machine. I expect to put the batch on the local server (2008 R2) with a shortcut to run it on each of the two client machines, which each run Win 7.
As long as the shortcuts have appropriate permissions, there shouldn't be a problem there. (Unless someone here points out otherwise.)
The main concern I have now is active files.
The files being archived are rather numerous and include sub-folders. Most of the files are generated in Excel although a couple other programs are involved as well. Most of the programs are hosted on the server, although one or two are hosted on one or both of the client machines. So I have a mixed bag of events here.
Note: As I'm writing this on XP, without the assistance of batch writing software, some commands are not available to me, such as 'robocopy' Thus far these limitations have not stopped me but for writing/testing purposes, I cannot use such commands.
I wish to avoid a problem where activating the batch file has it trying to archive a file that is currently in use. How can I do this?
If more information is needed, just ask.