http://www.mydigitallife.info/2008/01/01/schedule-synctoy-to-run-and-automatically-and-repetitively/
Schedule SyncToy Sync Task in Windows Vista
- Click on the Start menu, then select All Programs - Accessories - System Tools - Task Scheduler.
- Click on Create Basic Task in the “Actions” pane on the right.
- In the “Create Basic Task Wizard”, type in a Name and Description. For example, SyncToy Synchronization.
- Click on Next button.
- Choose the frequency of when do you want the task to start. If you always make changes to the files, Daily is a good choice.
- Click on Next button.
- Choose date and times (if applicable) to trigger and run the task.
- Click on Next button.
- In the “Action” step, select Start a Program as the option for the task to perform.
- Click on Next button.
- Under “Program/Script”, click on Browse button and locate the SyncToyCmd.exe. Normally it’s located in “C:\Program Files\SyncToy 2.0 Beta\SyncToyCmd.exe” for SyncToy 2.0 Beta.
- In the “Add Arguments” textbox, type -R. –R will run all folder pairs that are active for run all. If you want to run just a single folder pair, add –R”folder pair name” to the end of the command line.
Note: there is a space before the hyphen but not one after the R. If the folder pair name contains a space, surround it with quotation marks, as the example above shows. For another example, assume that SyncToy is in the folder named C:\Program Files\SyncToy 2.0\ and that you want to run a folder pair named “My folder pair.” Enter the command line as follows, including the quotation marks: “C:\Program Files\SyncToy 2.0\SyncToyCmd.exe” -R”My folder pair.” Note that there are two sets of quotation marks in this case: one is around the path to the SyncToy program file and the other surrounds the folder pair name.
Schedule a SyncToy Task in Windows XP
- Go to the Start menu, select All Programs - Accessories - System Tools - Scheduled Tasks.
- Select Add scheduled task to start the Scheduled Task Wizard. You will see a list of possible programs to run.
- SyncToy may appear as an option in the list. If SyncToy does not appear in the list, click Browse and locate the SyncToy executable. Normally it’s installed in Program Files directory.
- The wizard will next prompt you to enter how often you want to run the scheduled SyncToy (for example, daily, weekly, et cetera). Select a frequency.
- The next page asks when to start the task. Select a start time.
- The next page asks for the user name and password to run the program under. Enter your user name and password. However, in SynToy 2.0, it’s not necessary for the defined user to log in to the computer. Different user or no one logged on is possible to have the task running too.
- The final page contains an option to open the properties dialog when the wizard ends. Select this checkbox.
- Modify the Run textbox to include the –R command line option. –R all by itself will run all folder pairs that are active for run all. If you want to run just a single folder pair, add –R“My Pair” to the end of the command line.
Note: there is a space before the hyphen but not one after the R. If the folder pair name contains a space, surround it with quotation marks, as the example above shows. For another example, assume that SyncToy is in the folder named C:\My Folder and that you want to run a folder pair named “My folder pair.” Enter the command line as follows, including the quotation marks: “C:\Program Files\SyncToy 2.0\SyncToyCmd.exe” -R”My folder pair.” Note that there are two sets of quotation marks in this case: one is around the path to the SyncToy program file and the other surrounds the folder pair name.