Latest post 11-24-2009 1:33 PM by glamontagne. 3 replies.
11-24-2009 12:37 PM
Joined on 10-04-2006
TechSoup Member
Is there a script I can write that would copy a file and rename it to a different location on a daily basis?
The copied file is a backup file and changes name on a daily basis as well.
11-24-2009 1:22 PM
Joined on 01-15-2009
Richmond, Va
Yes.
In Windows, you can use a batch file, VBScript, or (if it's installed on your system) Powershell to automate the copying.
Then, create a scheduled task to run the script as needed.
11-24-2009 1:26 PM
forgot the rest...
If you give some details (or hypotheticals), we could help you with the script.
11-24-2009 1:33 PM
Joined on 02-18-2004
New Hampshire
I accomplish something like this using a batch file. I set it up to copy the contents of a paranoid user's my documents folder. The batch file doesn't rename anything but I bet it wouldn't be too hard to add that syntax. As djanke said, a little more information and we'd practically be able to help write it for you.