Differences

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

commandline 2025-03-31 commandline 2026-06-03 (current)
Line 9: Line 9:
winscp.exe [mysession] [/newinstance] winscp.exe [mysession] [/newinstance]
winscp.exe [mysession] /edit <path> winscp.exe [mysession] /edit <path>
-winscp.exe [mysession] /browse[=<file>]+winscp.exe [mysession] /explore[=<file>]
winscp.exe [mysession] /synchronize [local_directory] [remote_directory] [/defaults[=secs]] winscp.exe [mysession] /synchronize [local_directory] [remote_directory] [/defaults[=secs]]
winscp.exe [mysession] /keepuptodate [local_directory] [remote_directory] [/defaults[=secs]] winscp.exe [mysession] /keepuptodate [local_directory] [remote_directory] [/defaults[=secs]]
Line 108: Line 108:
</code> </code>
-With ''/xmllog'' parameter you may turn on [[logging_xml|XML logging]] to file specified by local path. ((For backward compatibility, XML logging can also be enabled using ''/log'' parameter with filename ending with ''.xml'' extension.)) In the path you can use the same patterns as in the [[ui_pref_logging#session_log|logging preferences]].+With ''/xmllog'' parameter you may turn on [[logging_xml|XML logging]] to file specified by local path. ((For backward compatibility, XML logging can also be enabled using ''/log'' parameter with filename ending with ''.xml'' ==extension==.)) In the path you can use the same patterns as in the [[ui_pref_logging#session_log|logging preferences]].
Use parameter ''/xmlgroups'' along with ''/xmllog'', to [[logging_xml#group|group]] all XML log elements belonging to the same command under parent ''group'' element. Use parameter ''/xmlgroups'' along with ''/xmllog'', to [[logging_xml#group|group]] all XML log elements belonging to the same command under parent ''group'' element.
Line 143: Line 143:
Use ''/==edit=='' to open a remote file in WinSCP [[ui_editor|internal editor]]. Use ''/==edit=='' to open a remote file in WinSCP [[ui_editor|internal editor]].
-Use ''/browse'' to select the specified file in (both) [[ui_file_panel|file panel(s)]]. The switch can also be used together with a [[session_url#file|file URL]] for the same effect, overriding the default [[task_download#url|download action]].+Use ''/explore'' (''/browse'' in older versions) &beta to select the specified file in (both) [[ui_file_panel|file panel(s)]]. The switch can also be used together with a [[session_url#file|file URL]] for the same effect, overriding the default [[task_download#url|download action]].
With ''/==synchronize=='' or ''/keepuptodate'' parameter WinSCP performs //Synchronize// or //Keep remote directory up to date// commands respectively on the specified session and directories. A dialog to set options is displayed first. With ''/==synchronize=='' or ''/keepuptodate'' parameter WinSCP performs //Synchronize// or //Keep remote directory up to date// commands respectively on the specified session and directories. A dialog to set options is displayed first.

Last modified: by martin