Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

henry3

Escaping

Thanks Martin, I wasn't sure I needed to escape both the " and %
Henry
henry3

Solution

It appears after some testing with the log file that the syntax is:
"synchronize remote "%%1%%" "%%2%%"" "exit"
henry3

syntax for using /parameter variables with /command

this does not seem to work in a batch file using /command and /parameter
"synchronize remote "%1%" "%2%"" "exit"
it works fine in a script
synchronize remote -delete "%1%" "%2%"
exit