commandline » Revisions »
Differences
This shows you the differences between the selected revisions of the page.
2005-12-05 | 2006-05-07 | ||
3.8 /log (martin) | 3.8.1 /console is optional (martin) | ||
Line 8: | Line 8: | ||
winscp3.exe [session] /synchronize [local_directory] [remote_directory] | winscp3.exe [session] /synchronize [local_directory] [remote_directory] | ||
winscp3.exe [session] /keepuptodate [local_directory] [remote_directory] | winscp3.exe [session] /keepuptodate [local_directory] [remote_directory] | ||
- | winscp3.exe [session] /console [/script=script_file] [/command command1 command2 ...] | + | winscp3.exe [session] [/console] [/script=script_file] [/command command1 command2 ...] |
winscp3.exe /update | winscp3.exe /update | ||
winscp3.exe /ini=<inifile> /log=<logfile> | winscp3.exe /ini=<inifile> /log=<logfile> | ||
Line 23: | Line 23: | ||
Parameter ''/console'' executes WinSCP in [[scripting|console (scripting) mode]]. Note that when WinSCP is executed via [[scripting#console|console interface (WinSCP3.com)]], the ''/console'' parameter is not necessary. | Parameter ''/console'' executes WinSCP in [[scripting|console (scripting) mode]]. Note that when WinSCP is executed via [[scripting#console|console interface (WinSCP3.com)]], the ''/console'' parameter is not necessary. | ||
- | To run batch script either pass script file using ''/script'' parameter or specify the commands directly on command line using ''/command''. In the latter case each following parameter is treated as single command (If the command includes spaces, enclose it in quotes). If both ''/script'' and ''/command'' parameters are used, commands from script file are executed first. When the last command is not ''exit'', regular non-batch mode follows. | + | To run batch script either pass script file using ''/script'' parameter or specify the commands directly on command line using ''/command''. In the latter case each following parameter is treated as single command (If the command includes spaces, enclose it in quotes). If both ''/script'' and ''/command'' parameters are used, commands from script file are executed first. When the last command is not ''exit'', regular non-batch mode follows. If ''/console'' parameter is not used along with ''/script'' or ''/command'', the script/command is executed without visual feedback (window). |
When run with ''/update'' parameter, WinSCP only checks for its [[updates|updates]]. | When run with ''/update'' parameter, WinSCP only checks for its [[updates|updates]]. |