Credits go to Randy for his blog post at http://www.randyrant..._tip_eleva.html
I mirror here his work:
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOTDirectoryshellcmd] @="Comm&and Prompt here" "NoWorkingDirectory"="" "Extended"=- [HKEY_CLASSES_ROOTDirectoryshellcmdcommand] @="cmd.exe /k "pushd %L && title Command Prompt"" [HKEY_CLASSES_ROOTDirectoryshellrunas] @="Ele&vated Comm&and Prompt here" "NoWorkingDirectory"="" [HKEY_CLASSES_ROOTDirectoryshellrunascommand] @="cmd.exe /k "pushd %L && title Command Prompt"" [HKEY_CLASSES_ROOTDriveshellcmd] @="Comm&and Prompt here" "NoWorkingDirectory"="" "Extended"=- [HKEY_CLASSES_ROOTDriveshellcmdcommand] @="cmd.exe /k "pushd %L && title Command Prompt"" [HKEY_CLASSES_ROOTDriveshellrunas] @="Ele&vated Comm&and Prompt here" "NoWorkingDirectory"="" [HKEY_CLASSES_ROOTDriveshellrunascommand] @="cmd.exe /k "pushd %L && title Command Prompt""
PromptHere.reg 862bytes 60 downloads