Differences
This shows you the differences between the selected revisions of the page.
2019-03-27 | 2019-07-04 | ||
5.15 released - removing beta notices (martin) | 5.15.3 Bug 1760: Compare Files extension cannot handle paths with spaces (martin) (hidden) | ||
Line 16: | Line 16: | ||
# @version 1 | # @version 1 | ||
# @shortcut Shift+Ctrl+Alt+C | # @shortcut Shift+Ctrl+Alt+C | ||
- | # @homepage ~~SELF~~ | + | # @homepage https://winscp.net/eng/docs/extension_compare_files |
# @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 ~~SELF~~#options | + | # @optionspage https://winscp.net/eng/docs/extension_compare_files#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 |
} | } | ||