Differences
This shows you the differences between the selected revisions of the page.
2014-12-03 | 2014-12-19 | ||
!/ ends with slash (martin) | 5.6.4 Custom command pattern !S that expands to session URL. (martin) | ||
Line 19: | Line 19: | ||
| ''!&'' | Any | Quoted, space-delimited list of files. Command with the pattern will be executed only once for all selected files. Cannot be combined with pattern ''!'' and executed recursively. | | | ''!&'' | Any | Quoted, space-delimited list of files. Command with the pattern will be executed only once for all selected files. Cannot be combined with pattern ''!'' and executed recursively. | | ||
| ''!/'' | Any | Current remote path. The path always ends slash. | | | ''!/'' | Any | Current remote path. The path always ends slash. | | ||
+ | | ''S/'' | Any | Current [[session_url|session URL]]. You can use it to pass current session data to another instance of WinSCP (using [[commandline|command-line]] or scripting command ''[[scriptcommand_open|open]]''), or code using WinSCP .NET assembly (see ''[[library_sessionoptions_parseurl|SessionOptions.ParseUrl]]''). &beta_feature | | ||
| ''!@'' | Any | Current session hostname. | | | ''!@'' | Any | Current session hostname. | | ||
| ''!U'' | Any | Current session username. | | | ''!U'' | Any | Current session username. | |