still expands to the list of file names in the local panel.
I am trying to compare two directories from the remote panel with each other and not with anything local.
If you put
in the command string, then the option to execute this command is greyed out and unavailable in the remote panel.
The expansion to use is
This may be an issue with WinMerge just not liking something about the call parameters
I set up an editor (TextPad) using the remote command function and instead of getting one function call with two arguments, I got two calls with one argument each when selecting two files and six function calls with one argument each when selecting six files.
For editing that is OK, but WinMerge wants both arguments on one command line.
I guess that depends on what does WinSCP do with !& when it is two directory names selected? It does copy the two directories over to local PC, but does !& expand to all file names in both directories or just the directory names selected (and that in the location on the local disk)
Hmm, well I wrote a diagnostic batch file to see what parameters were passed and in getting that to work I found how to make WinMerge work.
I do not know WHY the hoops must be jumped through, but here is the command that works for WinMerge to compare two remote directories
cmd /C "C:\Program Files\WinMerge\WinMergeU.exe" /r /u !&
If you do not use cmd, then WinMerge just sits there as if you started it without a parameter list.