Differences
This shows you the differences between the selected revisions of the page.
2016-05-25 | 2016-05-31 | ||
logging (martin) | replacing !??! pattern with runtime extension option + adding wildcard option + this required future 5.8.4 (martin) | ||
Line 20: | Line 20: | ||
<code powershell - SearchText.ps1> | <code powershell - SearchText.ps1> | ||
# @name &Search for Text... | # @name &Search for Text... | ||
- | # @command powershell.exe -ExecutionPolicy Bypass -File "%EXTENSION_PATH%" -sessionUrl "!S" -path "!/" -text "!?Text:?!" -pause -sessionLogPath "%SessionLogPath%" | + | # @command powershell.exe -ExecutionPolicy Bypass -File "%EXTENSION_PATH%" -sessionUrl "!S" -path "!/" -text "%Text%" -wildcard "%Wildcard%" -pause -sessionLogPath "%SessionLogPath%" |
# @description Searches recursively for a text in the current remote directory | # @description Searches recursively for a text in the current remote directory | ||
# @version 2 | # @version 2 | ||
# @homepage ~~SELF~~ | # @homepage ~~SELF~~ | ||
- | # @require WinSCP 5.8.3 | + | # @require WinSCP 5.8.4 |
- | # @option SessionLogPath file "&Session log file:" | + | # @option Text -run textbox "Text:" |
+ | # @option Wildcard -run textbox "Wildcard:" "*.*" | ||
+ | # @option SessionLogPath -config file "&Session log file:" | ||
param ( | param ( |