none
Unatteded removing folder pair without messages RRS feed

  • Question

  •  

    The command synctoy /u"PairName" does delete de PairName if it exists.

    But if the pair name not exists, a box will appear with th emessage that the pair can't be found.

     

    Is there a way to get rid of that message box.

    I want to script SyncToy, but does message boxes are very painfull.

    Friday, October 3, 2008 6:55 AM

Answers

  • For people interested they can drop me a PM.

     

    I solve my issue to create a VBS script which detects if a pair is already created for a specific user.

    The trick is the SyncToyDirPairs.bin file created in the directory %userprofile%\Local Settings\Application Data\Microsoft\SyncToy\2.0.

    I created a script which checks this bin file for the existing of the Pairname which i want to remove.

    If it exsist, then i can use the remove command and if it does not exist the removing will not take place.

    Although the bin file is binary, the pairnames are textual readable.

     

    It is not a nice way of handling but it is working :-)

     

    Tuesday, October 7, 2008 4:51 AM