Differences
This shows you the differences between the selected revisions of the page.
| 2019-07-04 | 2019-07-04 | ||
| 5.15.3 Bug 1760: Compare Files extension cannot handle paths with spaces (martin) (hidden) | Restored revision 1553688870. Undoing revision 1562231584. (martin) (hidden) | ||
| Line 16: | Line 16: | ||
| # @version 1 | # @version 1 | ||
| # @shortcut Shift+Ctrl+Alt+C | # @shortcut Shift+Ctrl+Alt+C | ||
| - | # @homepage https://winscp.net/eng/docs/extension_compare_files | + | # @homepage ~~SELF~~ |
| # @require WinSCP 5.13.4 | # @require WinSCP 5.13.4 | ||
| # @option - group "Options" | # @option - group "Options" | ||
| # @option Tool dropdownlist "Select &file comparison tool:" "" ^ | # @option Tool dropdownlist "Select &file comparison tool:" "" ^ | ||
| # "=Automatic" "ExamDiff Pro" "Beyond Compare" "KDiff3" "WinMerge" "fc" | # "=Automatic" "ExamDiff Pro" "Beyond Compare" "KDiff3" "WinMerge" "fc" | ||
| - | # @optionspage https://winscp.net/eng/docs/extension_compare_files#options | + | # @optionspage ~~SELF~~#options |
| param ( | param ( | ||
| Line 91: | Line 91: | ||
| { | { | ||
| Start-Process $env:ComSpec ` | Start-Process $env:ComSpec ` | ||
| - | -ArgumentList "/c $path `"$localPath`" `"$remotePath`" &·pause" -Wait | + | -ArgumentList "/c", $path, $localPath, $remotePath, "&", "pause" -Wait |
| } | } | ||
| else | else | ||
| { | { | ||
| - | Start-Process $path -ArgumentList "`"$localPath`" `"$remotePath`"" -Wait | + | Start-Process $path -ArgumentList $localPath, $remotePath -Wait |
| } | } | ||