commandline » Revisions »
Differences
This shows you the differences between the selected revisions of the page.
2009-12-20 | 2010-01-29 | ||
4.2.5 bug 311 (martin) | syntax (quotes) (martin) | ||
Line 73: | Line 73: | ||
Parameter ''/help'' shows usage (overview similar to this). | Parameter ''/help'' shows usage (overview similar to this). | ||
+ | |||
+ | ===== Syntax ===== | ||
+ | Command-line parameters that include space(s) have to be enclosed in double-quotes.: | ||
+ | <code> | ||
+ | winscp.exe /ini="C:\Documents and Settings\user\Documents\myconfig.ini" | ||
+ | </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: | ||
+ | <code> | ||
+ | winscp.exe /console /command "open ""My session""" "put ""C:\Documents and Settings\user\Documents\myfile.dat""" | ||
+ | </code> | ||
===== Executables ===== | ===== Executables ===== |