Run SyncToy from a Command Line
SyncToy can be run from the command line to provide support for scheduling or automating folder pair execution. The command line executable by default is located at: [System Drive]\Program Files\SyncToy 2.1\SyncToyCmd.exe. SyncToy does not support running multiple copies of SyncToyCmd.exe at the same time. If a second instance of SyncToyCmd.exe is executed, there will be no errors and the command will not be executed.
The parameters provided by this command line interface are described below:
- -R Run all folder pairs that are marked as Active For Run All.
- -R [Name] Run the named folder pair (only one folder pair can be specified).
- SyncToyCmd -R MyFolderPair
- SyncToyCmd -R