Exclude Directory within batch file

Post your bug reports here
Post Reply
PaulGallagher
Posts: 2
Joined: Wed Aug 26, 2009 8:59 am

Exclude Directory within batch file

Post 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

grigsoft
Site Admin
Posts: 1673
Joined: Tue Sep 23, 2003 7:37 pm
Contact:

Post by grigsoft »

There shouldn't be any spaces between /xd and folder list, maybe this is the problem?

PaulGallagher
Posts: 2
Joined: Wed Aug 26, 2009 8:59 am

Post by PaulGallagher »

Many thanks - works a treat now

Post Reply