Passing a single filename to a context menu shell command is simple:
[HKEY_CLASSES_ROOT*shellMyProgramCommand] @="program.exe %1"
But if I select multiple files, program.exe is invoked for each such selected file.
program.exe
What I would like to do instead is invokeprogram.exe only once, passing to it all the filenames currently selected.
How to do this?
You may want to look at this post, as it says that this isn't really possible to pass multiple files to a single instance and you must rely on some form of IPC(Inter process Communication).
1.4m articles
1.4m replys
5 comments
57.0k users