Differences

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

2013-04-15 2013-05-29
5.2 bug 769 Change: Session from commandline and/or from jump list is opened by default using existing WinSCP instance. (martin) surround instead of enclose (martin)
Line 112: Line 112:
===== [[syntax]] Syntax ===== ===== [[syntax]] Syntax =====
-Command-line parameters that include space(s) must be enclosed in double-quotes:+Command-line parameters that include space(s) must be surrounded by double-quotes:
<code> <code>
winscp.exe /ini="C:\Documents and Settings\martin\Documents\myconfig.ini" winscp.exe /ini="C:\Documents and Settings\martin\Documents\myconfig.ini"
</code> </code>
-To use the double-quote as a literal, use two double-quotes sequentially. For example, the ''/command'' expects that each script commands is enclosed in double quotes so that is passed as a single command-line argument. In addition, any script command argument that includes spaces is expected to be enclosed with double-quotes within the command (see [[scripting#syntax|doubling double-quotes]]):+To use the double-quote as a literal, use two double-quotes sequentially. For example, the ''/command'' expects that each script commands is surrounded by double quotes so that is passed as a single command-line argument. In addition, any script command argument that includes spaces is expected to be surrounded by double-quotes within the command (see [[scripting#syntax|doubling double-quotes]]):
<code> <code>
winscp.com /command "open ""My session""" "put ""C:\Documents and Settings\martin\Documents\myfile.dat""" winscp.com /command "open ""My session""" "put ""C:\Documents and Settings\martin\Documents\myfile.dat"""

Last modified: by martin