Differences

This shows you the differences between the selected revisions of the page.

2016-01-22 2016-01-22
commandline#configuration (martin) option anchors (martin)
Line 12: Line 12:
| ''[user@]host'' | Specify the username and the hostname in a [[session_url|session URL]] in an ''[[scriptcommand_open|open]]'' command in the script. \\ Example: ''open %%sftp://user@host/%%'' | | ''[user@]host'' | Specify the username and the hostname in a [[session_url|session URL]] in an ''[[scriptcommand_open|open]]'' command in the script. \\ Example: ''open %%sftp://user@host/%%'' |
| ''-b file'' | Replace with ''[[commandline#scripting|/script=file]]''. | | ''-b file'' | Replace with ''[[commandline#scripting|/script=file]]''. |
-| ''-bc'' | Use an ''[[scriptcommand_option|option echo on]]'' command at the beginning of the script. | +| ''-bc'' | Use an ''[[scriptcommand_option#echo|option echo on]]'' command at the beginning of the script. | 
-| ''-be'' | Use an ''[[scriptcommand_option|option batch on]]'' command at the beginning of the script (to counter [[scripting#using_scripting|the default]] ''option batch abort''). |+| ''-be'' | Use an ''[[scriptcommand_option#batch|option batch on]]'' command at the beginning of the script (to counter [[scripting#using_scripting|the default]] ''option batch abort''). |
| ''-load sessname'' | [[ui_import|Import your PuTTY stored session to WinSCP]] and use an ''[[scriptcommand_open|open sessname]]'' command in the script. Though this makes the script dependent on GUI configuration (see [[#ini|below]]). You should better use a [[ui_generateurl|Generate Session URL/Code function]] and use the generated ''[[scriptcommand_open|open]]'' command in the script. | | ''-load sessname'' | [[ui_import|Import your PuTTY stored session to WinSCP]] and use an ''[[scriptcommand_open|open sessname]]'' command in the script. Though this makes the script dependent on GUI configuration (see [[#ini|below]]). You should better use a [[ui_generateurl|Generate Session URL/Code function]] and use the generated ''[[scriptcommand_open|open]]'' command in the script. |
| ''-l user'' | Specify the username in a [[session_url|session URL]] in an ''[[scriptcommand_open|open]]'' command in the script. \\ Example: ''open %%sftp://user@example.com/%%'' | | ''-l user'' | Specify the username in a [[session_url|session URL]] in an ''[[scriptcommand_open|open]]'' command in the script. \\ Example: ''open %%sftp://user@example.com/%%'' |

Last modified: by martin