Differences

This shows you the differences between the selected revisions of the page.

2020-05-03 2020-05-04
correcting link (martin) two slashes anchor (martin)
Line 221: Line 221:
To debug the quoting, enable session logging on level //Debug 1// (''/loglevel=1''). The log will show how WinSCP understands your command-line. To debug the quoting, enable session logging on level //Debug 1// (''/loglevel=1''). The log will show how WinSCP understands your command-line.
-An argument that begins with a slash is considered a switch. To pass a parameter that itself starts with the slash in its syntax (i.e. a remote path like ''/root''), use the special switch ''%%//%%'' (two slashes) before the argument. The switch ''%%//%%'' denotes that all following arguments are not switches. Example:+An argument that begins with a slash is considered a switch. To pass a parameter that itself starts with the slash in its syntax (i.e. a remote path like ''/root''), use the special switch ''%%//%%'' (==two slashes==%%)%% before the argument. The switch ''%%//%%'' denotes that all following arguments are not switches. Example:
<code batch> <code batch>
winscp.exe /synchronize // "C:\Users\martin\Documents\MySite" /root winscp.exe /synchronize // "C:\Users\martin\Documents\MySite" /root

Last modified: by martin