commandline » Revisions »
Differences
This shows you the differences between the selected revisions of the page.
2009-06-30 | 2009-06-30 | ||
4.2.2 bug 396 (martin) | 4.2.2 bug 197 (martin) | ||
Line 12: | Line 12: | ||
winscp.exe [mysession] [/passive] [/implicit|explicitsslexplicittls] | winscp.exe [mysession] [/passive] [/implicit|explicitsslexplicittls] | ||
winscp.exe [mysession] [/timeout=<sec>] | winscp.exe [mysession] [/timeout=<sec>] | ||
- | winscp.exe [/console] [/script=script_file] [/command command1 command2 ...] | + | winscp.exe [/console] [/script=script_file] [/command command1 command2 ...] [/parameter param1 ...] |
winscp.exe /ini=<inifile> /log=<logfile> | winscp.exe /ini=<inifile> /log=<logfile> | ||
winscp.exe /update | winscp.exe /update | ||
Line 20: | Line 20: | ||
Parameters for ''[[executables|winscp.com]]'' executable: | Parameters for ''[[executables|winscp.com]]'' executable: | ||
<code> | <code> | ||
- | winscp.com [/script=script_file] [/command command1 command2 ...] | + | winscp.com [/script=script_file] [/command command1 command2 ...] [/parameter param1 ...] |
winscp.com /ini=<inifile> /log=<logfile> | winscp.com /ini=<inifile> /log=<logfile> | ||
winscp.com /help | winscp.com /help | ||
Line 52: | Line 52: | ||
If both ''/script'' and ''/command'' parameters are used, commands from script file are executed first. When the last command is not ''[[script_commands#exit|exit]]'', regular non-batch mode follows. | If both ''/script'' and ''/command'' parameters are used, commands from script file are executed first. When the last command is not ''[[script_commands#exit|exit]]'', regular non-batch mode follows. | ||
+ | |||
+ | Use parameter ''/parameter'' to specify list of arguments to be [[script_commands#syntax|passed to script]]. | ||
With ''[[executables|winscp.exe]]'', if ''/console'' parameter is not used along with ''/script'' or ''/command'', the script/command is executed without visual feedback (window). | With ''[[executables|winscp.exe]]'', if ''/console'' parameter is not used along with ''/script'' or ''/command'', the script/command is executed without visual feedback (window). |