commandline » Revisions »
Differences
This shows you the differences between the selected revisions of the page.
2011-11-08 | 2011-11-08 | ||
no summary (207.107.36.14) | m (207.107.36.14) | ||
Line 108: | Line 108: | ||
</code> | </code> | ||
- | To use the double-quote as a literal, use two double quotes sequentially. For example, the ''/command'' expects that the script will be structured as an in-line FTP script and that each line of the script is enclosed in double quotes. In addition, any part of a line within the script that includes spaces is expected to be enclosed with double quotes within the line so that the complete line is passed as a single string (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 the script will be structured as an in-line FTP script and that each line of the script is enclosed in double quotes. In addition, any part of a line within the script that includes spaces is expected to be enclosed with double quotes within the line so that the complete line is passed as a single string (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""" |