Zxian.org

Hiding Microsoft SyncToyCmd for backups

The more work I do, the more paranoid I become of possibly losing it all. I’ve got a pretty elaborate hardware setup in terms of disk storage, but I was lacking a simple, functional tool to do the backups of the data on a regular basis. I looked at Microsoft SyncToy for the backups, and it seems to do everything I need/want it to, except for one - scheduling. Their help documentation tells you to use their command-line application and the built in scheduler. This seems to do the trick, but there was one snag - it shows the ugly command prompt. This simply wouldn’t do….

I fired up Visual Studio 2008 and started writing a simple little .NET app to act as a wrapper for the command-line window. At the moment, it just runs all of your folder pairs, but I’ll be expanding the command line parsing to search for specific pairs. You’ll need the .NET Framework 2.0 installed for the software to work. Simply extract the file into the SyncToy directory, follow the help instructions for setting the scheduled task, but replace the program path with the following:

“C:\Program Files\SyncToy\SyncToyHidden.exe” /hide /quiet

Obviously you’ll have to replace the path with the one that’s relevant to your system.

Please let me know if anyone runs into any troubles with the software.

Download Link

P.S. Thanks to jcarle for the help with the command line switches.

Comments

  1. robert
    September 14th, 2009 | 2:29 pm

    This looks to be what i have been looking for.
    Would you be able to republish it please, when I follow the download link I get a 404.

    Many Thanks.

  2. September 18th, 2009 | 1:29 am

    Hi Robert,

    Sorry about the downtime. My files are stored on my Dreamhost account, and they recently moved my services to another server. I hadn’t got a chance to fix my DNS settings to the new address, but the download link should be working now.

    Let me know how things work!

    Cheers!

  3. October 4th, 2009 | 5:53 am

    Just wanted to thank you for this. It was a life saver! :D

  4. November 17th, 2009 | 12:43 am

    [...] thanks to a bit of Googling, I found a solution. It’s a little NET application someone wrote that acts as a wrapper for SyncToyCmd.exe and [...]

  5. Rich
    December 26th, 2009 | 3:59 pm

    Thank you for this! I’ve been looking for something like this from early XP days. Works beautifully under Windows 7.

    The only change I needed to make was remove the double quotes around the path and change it to where I have SyncToy installed.

    Now …. how about a more generic program that will allow me to run batch files silently? One where I specify the fully qualified path to the program I want to run along with the parameters, as parameters to your program?

    Something like:

    runashidden d:\foldername\mybatch.cmd /parm1 /parm2 ….

  6. David
    February 12th, 2010 | 9:52 am

    Perfect… that popup was getting very annoying!

    Thanks very much! :)

Leave a reply