commandline » Revisions »
Differences
This shows you the differences between the selected revisions of the page.
2010-01-20 | 2010-01-29 | ||
Restored revision 1261337974. Undoing revision 1263960722. (martin) (hidden) | 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 ===== |