Tuesday, March 3, 2009
Open Command prompt from right click (context) menu on selected folder
Add Open Prompt from here.. shortcut to Context Menu
To create Open Command Prompt from here.. for all folders and drives
Open your registry editor and create the following key.
Go to Key:
My Computer -> HKEY_CLASSES_ROOT -> Directory -> Shell
Under Shell create new key “cmd"
Add the “Default” string value “reg_sz” as “Open prompt from here.."
Under "cmd" create new sub key “command"
Add the “Default” string value “reg_sz” as “cmd.exe /k "cd %L" "
Do Same for Drives
Go to Key:
My Computer -> HKEY_CLASSES_ROOT -> Directory -> Shell
Under Shell create new key “cmd"
Add the “Default” string value “reg_sz” as “Open prompt from here.."
Under "cmd" create new sub key “command"
Add the “Default” string value “reg_sz” as “cmd.exe /k "cd %L" "
Or just copy paste following command in run command or in .bat file (batch file) and run it.
reg add "hkcr\Directory\shell\cmd" /v "" /t "reg_sz" /d "Open CMD from here" /f
reg add "hkcr\Directory\shell\cmd\command" /v "" /t "reg_sz" /d "cmd.exe /k \"cd %%L\"" /f
reg add "hkcr\Drive\shell\cmd" /v "" /t "reg_sz" /d "Open CMD from here" /f
reg add "hkcr\Drive\shell\cmd\command" /v "" /t "reg_sz" /d "cmd.exe /k \"cd %%L\"" /f
and You have done it...
Subscribe to:
Post Comments (Atom)
1 comment:
Hi,
This is yashodhan, i would like to know about windows explorer,i want to put it on my desktop.
Post a Comment