Differences
This shows you the differences between the selected revisions of the page.
2013-07-18 | 2013-11-05 | ||
!`command` is beta (martin) | want to have proper double-quotes in syntax (martin) | ||
Line 2: | Line 2: | ||
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. | 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. |
However you can have even custom commands without patterns, just to avoid typing the command again every time. | However you can have even custom commands without patterns, just to avoid typing the command again every time. | ||