Hello everyone,
One solution to my problem is to replace all occurrences of open with command-exec in the registry file:
Windows Registry Editor Version 5.00 ; Command Prompt [HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\shell\XxX-01MenuCmd] "MUIVerb"="@shell32.dll,-22022" "Icon"="cmd.exe" "ExtendedSubCommandsKey"="Directory\\ContextMenus\\XxX-MenuCmd" [HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\background\shell\XxX-01MenuCmd] "MUIVerb"="@shell32.dll,-22022" "Icon"="cmd.exe" "ExtendedSubCommandsKey"="Directory\\ContextMenus\\XxX-MenuCmd" [HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\ContextMenus\XxX-MenuCmd\shell\command-exec] "MUIVerb"="@shell32.dll,-8506" "Icon"="cmd.exe" [HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\ContextMenus\XxX-MenuCmd\shell\command-exec\command] @="cmd.exe /s /k pushd \"%V\"" [HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\ContextMenus\XxX-MenuCmd\shell\runas] "MUIVerb"="@shell32.dll,-37444" "Icon"="cmd.exe" "HasLUAShield"="" [HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\ContextMenus\XxX-MenuCmd\shell\runas\command] @="cmd.exe /s /k pushd \"%V\""Now I have the enhanced context menu at the folder and a double click on file:///c:\tmp starts the windows file explorer.
Remark: The items in the submenu are displayed by the lexical order (1. command-exec, 2. runas …).
Thanks for you help.
Kind Regards
Thomas