Differences

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

2010-01-29 2010-01-29
syntax (quotes) (martin) typo (martin)
Line 75: Line 75:
===== Syntax ===== ===== Syntax =====
-Command-line parameters that include space(s) have to be enclosed in double-quotes.:+Command-line parameters that include space(s) have to be enclosed in double-quotes:
<code> <code>
winscp.exe /ini="C:\Documents and Settings\user\Documents\myconfig.ini" winscp.exe /ini="C:\Documents and Settings\user\Documents\myconfig.ini"
</code> </code>
-To use double-quote literally, double it. You will need this particularly with ''/command'' parameter to execute script command that includes script parameter with spaces as [[script_commands#syntax|doubling double-quotes]] applies to script command as well:+To use double-quote literally, double it. You will need this particularly with ''/command'' parameter to execute script command that includes script parameter with spaces((Note that [[script_commands#syntax|doubling double-quotes]] applies to script command as well.)):
<code> <code>
winscp.exe /console /command "open ""My session""" "put ""C:\Documents and Settings\user\Documents\myfile.dat""" winscp.exe /console /command "open ""My session""" "put ""C:\Documents and Settings\user\Documents\myfile.dat"""

Last modified: by martin