commandline » Revisions »
Differences
This shows you the differences between the selected revisions of the page.
2013-05-25 | 2013-05-27 | ||
no summary (78.61.9.94) (hidden) | Restored revision 1366020112. Undoing revision 1369510315. (martin) (hidden) | ||
Line 116: | Line 116: | ||
winscp.exe /ini="C:\Documents and Settings\martin\Documents\myconfig.ini" | winscp.exe /ini="C:\Documents and Settings\martin\Documents\myconfig.ini" | ||
</code> | </code> | ||
- | ble-quotes]]): | + | |
+ | 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]]): | ||
<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""" |