Page 1 of 1

Show 64-bit Context Menu - use with multiple long paths

Posted: 02 Jun 2016 00:46
by geoffyates
In general this is working nicely. Although it is rare, the context menu can be used to send two fully qualified filenames to an application. One example of this is Winmerge.

Where the paths being sent to Winmerge are not all that long there is not any problem. But when both the paths being sent are each very long in themselves the use of Show 64-bit Context Menu does not work properly. And yet when using the right click option with Windows Explorer with exactly the same paths there is no problem.

It seems that the amount of 'string' space allocated in connection with this is not always enough. May I suggest that the amount of space allocated/reserved for the strings being sent to whatever program is 2 X the maximum length possible of fully qualified filename.
i.e. d:\path\leading to\filename.ext

Intel 3 Ghz dual core
Win 7 Pro x64
XY 16.20.0200

Re: Show 64-bit Context Menu - use with multiple long paths

Posted: 02 Jun 2016 10:25
by admin
I'm not aware of any limits here. After all I can send thousands of items to the context menu without problems.

OTOH I cannot explain what you see.

Here is an alternative I'm using all the time for comparing files. I defined a PFA like this:

Code: Select all

|"WinMerge (clip / cur)" *;\>"C:\Program Files (x86)\WinMerge\WinMergeU.exe" "<clipboard>" "<curitem>"
Then I send item 1 to the clipboard, and select item 2, the call the PFA via the Open With toolbar button.