Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I'm wondering if there is any setting within Windows that will automatically create a copy of any file that is saved to one particular folder and save it to an additional folder? Does anyone know if this is possible?
Thanks,
Andrea

Yes, you can make a Scheduled Task that will run a batch file.
First, you'll have to make the batch file. This will copy the file from its existing folder to another. The layout should be something like this:
@echo off
copy "c:\folderone\sub\file.txt" "c:\backup"You have to change "c:\folderone\sub\file.txt" to the full path of the file you want to copy. Then you need to change "c:\backup" to the folder where you want to copy the file to. Make sure you keep both paths enclosed in quotes. Just copy and paste the above two lines of code into Notepad and replace as I've outlined. Save in the root of your hard drive, i.e. C:, and name it something like "copy.bat". Make sure to include the quotes so Notepad doesn't at the .txt extension to the file.
Now we can add a Scheduled Task which will run the batch file (and make a backup copy of the file) on an automatic schedule, which you specify:
1. Click Start and move your mouse over All Programs.
2. Click Accessories and then click System Tools.
3. Select Scheduled Tasks.
4. Double-click Add Scheduled Task.
5. Click Next and then click Browse. Navigate to where you saved the batch file (C:), select it and click OK.
6. Under Perform this task: select the schedule you would like, e.g. When I log on.I hope this helps,
James

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |