Answered by:
How to add context menu item to Windows Explorer for both folders and files together?

Question
-
from:"https://stackoverflow.com/questions/20449316/how-add-context-menu-item-to-windows-explorer-for-folders"so,
I know that one can add a key under
HKEY_CLASSES_ROOT\Directory\Background\shell with "command" subkey with default value as path for executable with %1 as arguments for folders and also separately
HKEY_CLASSES_ROOT\*\shell with same way of doing but for all files this time.
But THING is to select both files and folders at one time and process it. How to
add context menu item to Windows Explorer for both folders and files jointly?I would like to get both files and folders as parameter arguments for program but now I face other difficulty: I get only one file name even when I select many files or folders.
I tried to change subkey default value with path to program to following: "appName %*" so it is %* instead of %1 but it fails to pass any file name to my program. How to get all selected file names as array of arguments on start of my program?
- Edited by zweigs Korba Shael Saturday, December 7, 2019 9:17 PM
- Moved by Jack J JunMicrosoft contingent staff Monday, December 9, 2019 6:19 AM
Friday, December 6, 2019 11:36 PM
Answers
-
Perhaps ask here:
https://social.technet.microsoft.com/Forums/en-US/home?forum=ieitprocurrentver
Richard Mueller - MVP Enterprise Mobility (Identity and Access)
- Proposed as answer by Dave PatrickMVP Monday, December 9, 2019 1:56 PM
- Marked as answer by Richard MuellerMVP, Banned Monday, December 16, 2019 1:29 PM
Monday, December 9, 2019 1:46 PM -
or also try asking here.
https://social.technet.microsoft.com/Forums/en-US/home?forum=win10itprogeneral
https://social.technet.microsoft.com/Forums/en-US/home?forum=w8itprogeneral
https://social.technet.microsoft.com/Forums/en-US/home?forum=w7itprogeneral
https://answers.microsoft.com/en-us/windows/forum
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.- Proposed as answer by Guido Franzke Monday, December 9, 2019 2:16 PM
- Marked as answer by Richard MuellerMVP, Banned Monday, December 16, 2019 1:29 PM
Monday, December 9, 2019 1:59 PM
All replies
-
or also try asking here.
https://social.technet.microsoft.com/Forums/en-US/home?forum=win10itprogeneral
https://social.technet.microsoft.com/Forums/en-US/home?forum=w8itprogeneral
https://social.technet.microsoft.com/Forums/en-US/home?forum=w7itprogeneral
https://answers.microsoft.com/en-us/windows/forum
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.- Proposed as answer by Guido Franzke Monday, December 9, 2019 2:16 PM
- Marked as answer by Richard MuellerMVP, Banned Monday, December 16, 2019 1:29 PM
Monday, December 9, 2019 1:59 PM