commandline » Revisions »
Differences
This shows you the differences between the selected revisions of the page.
| 2013-04-15 | 2013-05-25 | ||
| 5.2 bug 769 Change: Session from commandline and/or from jump list is opened by default using existing WinSCP instance. (martin) | no summary (78.61.9.94) (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""" | ||