Page 1 of 1

Exclude Directory within batch file

Posted: Wed Aug 26, 2009 9:10 am
by PaulGallagher
Hi there,

Not sure if this is a Bug or user error as I'm new to this wonderful tool!

I'm running a batch file to backup my laptop to a home server. I'm using Synchronize It! 3.4 and running the following line;

"c:\Program Files\Synchronize It!\wndsync.exe" "c:\Users\testuser" "b:\Laptop Backup" *.* /XD "c:\test directory" /update /auto /show0 /R /size

The batch file runs and creates a copy of all directories/files including the "c:\test directory" that I want to exclude?

If I choose the exclude directory from within Synchronize It! when run from the GUI itself, the directory is excluded.

Any help much appreciated.

Thanks

Paul

Posted: Wed Aug 26, 2009 12:37 pm
by grigsoft
There shouldn't be any spaces between /xd and folder list, maybe this is the problem?

Posted: Wed Aug 26, 2009 1:00 pm
by PaulGallagher
Many thanks - works a treat now