Differences

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

custom_command 2024-10-21 custom_command 2024-10-21 (current)
Line 1: Line 1:
====== Custom Commands ====== ====== Custom Commands ======
-If there is a [[remote command]] you need to execute it regularly and in particular if the command works with files, you may find custom commands useful.+If there is a [[remote command]] you need to execute regularly and in particular if the command works with files, you may find custom commands useful.
A custom command is a [[ui_pref_commands|predefined]] command which can contain several patterns that WinSCP replaces, for example, with names of files selected in a panel (see below). For example, the pre-defined custom command //Touch//, defined as ''touch %%"!"%%'', calls the ''touch'' command on every selected file in the remote panel. A custom command is a [[ui_pref_commands|predefined]] command which can contain several patterns that WinSCP replaces, for example, with names of files selected in a panel (see below). For example, the pre-defined custom command //Touch//, defined as ''touch %%"!"%%'', calls the ''touch'' command on every selected file in the remote panel.

Last modified: by 37.201.4.249