Differences

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

2014-10-29 2014-10-30
rawsettings must come after session url (martin) 5.6.2 Bug 876 Set global configuration options on command-line (martin)
Line 17: Line 17:
winscp.exe [/console] [/script=script_file] [/command command1 command2 ...] [/parameter param1 ...] winscp.exe [/console] [/script=script_file] [/command command1 command2 ...] [/parameter param1 ...]
winscp.exe [/ini=<inifile>] [/log=<logfile>] [/xmllog=<logfile> [/xmlgroups]] winscp.exe [/ini=<inifile>] [/log=<logfile>] [/xmllog=<logfile> [/xmlgroups]]
 +winscp.exe [/rawconfig config1=value1 config2=value2 ...]
winscp.exe /update winscp.exe /update
winscp.exe /help winscp.exe /help
Line 25: Line 26:
winscp.com [/script=script_file] [/command command1 command2 ...] [/parameter param1 ...] winscp.com [/script=script_file] [/command command1 command2 ...] [/parameter param1 ...]
winscp.com [/ini=<inifile>] [/log=<logfile>] [/xmllog=<logfile> [/xmlgroups]] [/nointeractiveinput] winscp.com [/ini=<inifile>] [/log=<logfile>] [/xmllog=<logfile> [/xmlgroups]] [/nointeractiveinput]
 +winscp.exe [/rawconfig config1=value1 config2=value2 ...]
winscp.com /help winscp.com /help
</code> </code>
Line 112: Line 114:
Use ''nul'' instead of path to force WinSCP start with its default configuration and not save the configuration on exit. Use ''nul'' instead of path to force WinSCP start with its default configuration and not save the configuration on exit.
 +
 +With ''/rawconfig'' parameter you can set any configuration settings using raw format as in an INI file. The settings is identified using syntax ''section\name'', where the ''section'' is a path to configuration section from ''HKEY_CURRENT_USER\Software\Martin Prikryl\WinSCP 2\Configuration'' key in a registry or ''[Configuration]'' section in an INI file. E.g. to configure a reconnect interval use ''/rawconfig Interface\SessionReopenAuto=10000''. The parameter must come after a session URL (if any). The configuration set this way is preserved. &beta_feature
==== Auxiliary ==== ==== Auxiliary ====

Last modified: by martin