


After inspecting the SyncToyEngine in the object browser, I could find no indication of a way to iterate through the set of folder pairs in the configuration file. On closer inspection, however, I noticed that only the first folder pair in my configuration was being used. This is what is needed to operate the SyncToy engine.
Microsoft synctoy 2.0 work over teh internet how to#
Backgroundĭomenic demonstrated how to read the SyncToy configuration file, instantiate the SyncEngine and call the Preview and Sync methods. This solved the problem of running SyncToy unattended. The article " Quietly run Microsoft's SyncToy" by Domenic demonstrated how to call the SyncToyEngine.dll from your own code. I was therefore pleasantly surprised to find a recent article posted on CodeProject that solved this problem. This limitation was bothersome, so I put that idea aside, hoping that one day Microsoft would release an updated version that supported unattended execution. When I set up a scheduled task to run my SyncToy configuration as a nightly, unattended job, it failed because it was not able to interact with the desktop. SyncToy has a very nice GUI and is intended to be run interactively. It is very useful for maintaining a backup of your critical files. Microsoft's SyncToy is a quality tool that allows you to synchronize a set of directory pairs.
