[SHELL32][BOOTDATA] Implement Command Prompt here (#2029)

Add "Command Prompt here" menu item to the Right-click menu of normal folders and drives. Currently, this menu item doesn't work correctly because of the bug of pushd. CORE-12150
This commit is contained in:
Katayama Hirofumi MZ 2019-11-14 23:25:21 +09:00 committed by GitHub
parent e753d5e108
commit 90c63d12a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
38 changed files with 129 additions and 27 deletions

View file

@ -26,6 +26,22 @@ HKCR,"Folder\shell\explore","BrowserFlags",0x00010001,"0x00000022"
HKCR,"Folder\shell\explore","ExplorerFlags",0x00010001,"0x00000021"
HKCR,"Folder\shell\explore\command","",0x00000000,"explorer.exe /e,""%1"""
; Directory
HKCR,"Directory","",0x00000000,"File Folder"
;HKCR,"Directory\DefaultIcon","",0x00000000,"%SystemRoot%\system32\shell32.dll,-4"
HKCR,"Directory","AlwaysShowExt",0x00000000,""
HKCR,"Directory","NoRecentDocs",0x00000000,""
HKCR,"Directory\shell\cmd","",0x00020000,"@%SystemRoot%\system32\shell32.dll,-306"
HKCR,"Directory\shell\cmd","Extended",0x00000000,""
HKCR,"Directory\shell\cmd\command","",0x00000000,"cmd /s /k pushd ""%V"""
; Drive
HKCR,"Drive","",0x00000000,"Drive"
;HKCR,"Drive\DefaultIcon","",0x00000000,"%SystemRoot%\system32\shell32.dll,-4"
HKCR,"Drive\shell\cmd","",0x00020000,"@%SystemRoot%\system32\shell32.dll,-306"
HKCR,"Drive\shell\cmd","Extended",0x00000000,""
HKCR,"Drive\shell\cmd\command","",0x00000000,"cmd /s /k pushd ""%V"""
; Clipboard Element
HKCR,".clp","",0x00000000,"clpfile"
HKCR,".clp","Content Type",0x00000000,"application/x-msclip"