{filepath} {filepathdest} behavior

Hi, I created a button that compares 2 directories, like this :

C:\Program Files\WinMerge\WinMerge.exe /r /e /x /wl /wr {filepath} {filepathdest} 

This works when files or folder are highlighted, but doesn't seem to work when a drive is highlighted, eg, When in My computer & [b]C:[/b] is highlighted.

:question: How can I make sure {filepath} will contain [b]C:[/b] ?

I don't think things like {filepath} work when in My Computer.

If it's any help, you can use this command to make WinMerge compare the left and right directories:

"C:\program files\WinMerge\WinMergeU.exe" /r {leftpath|noterm} {rightpath|noterm}

Hmmm, that ain't doing what I expect. Perhaps, the option can be put on the To-Do list :wink: