commandline » Revisions »
Differences
This shows you the differences between the selected revisions of the page.
2014-02-05 | 2014-02-28 | ||
session url should end with slash (martin) | grammar (martin) | ||
Line 121: | Line 121: | ||
</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 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]]): | + | To use the double-quote as a literal, use two double-quotes sequentially. For example, the ''/command'' expects that each script command is surrounded by double quotes, so that it 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 site""" "put ""C:\Users\martin\Documents\myfile.dat""" | winscp.com /command "open ""My site""" "put ""C:\Users\martin\Documents\myfile.dat""" |