commandline » Revisions »
Differences
This shows you the differences between the selected revisions of the page.
2007-04-03 | 2007-04-11 | ||
4.0 ftp (martin) | 4.0 environment variables in paths (martin) | ||
Line 29: | Line 29: | ||
When run with ''/update'' parameter, WinSCP only checks for its [[updates|updates]]. | When run with ''/update'' parameter, WinSCP only checks for its [[updates|updates]]. | ||
- | With ''/ini'' parameter you may specify path to [[config|configuration INI file]]. It effectively disables using [[config|registry as configuration storage]]. If the file does not exist, default configuration will be used and the file will be created. | + | With ''/ini'' parameter you may specify path to [[config|configuration INI file]]. It effectively disables using [[config|registry as configuration storage]]. If the file does not exist, default configuration will be used and the file will be created. You can use environment variables in the path, with syntax ''%NAME%''. |
- | With ''/log'' parameter you may turn on session logging to given file. | + | With ''/log'' parameter you may turn on session logging to given file. You can use environment variables in the path, with syntax ''%NAME%''. |
Parameter ''/help'' shows usage (overview similar to this). | Parameter ''/help'' shows usage (overview similar to this). | ||
For security reasons, when protocol (''%%sftp://%%'', ''%%ftp://%%'' or ''%%scp://%%'') is provided on command line (possible execution from web browser/Windows Explorer), all command-like parameters that cause any automatic action are ignored, including ''/defaults'', ''/log'', ''/script'' and ''/command''. | For security reasons, when protocol (''%%sftp://%%'', ''%%ftp://%%'' or ''%%scp://%%'') is provided on command line (possible execution from web browser/Windows Explorer), all command-like parameters that cause any automatic action are ignored, including ''/defaults'', ''/log'', ''/script'' and ''/command''. |