Share via


"Command Prompt" here!

here is a very handy registry edit that will add a "Command prompt" and "12 Folder" commands to your windows explorer contenxt menu: https://blogs.msdn.com/jb/archive/2007/09/19/12-folder-from-here.aspx. use when you want to open a command prompt on the 12 folder direct (useful when using stsadm command).

here is the trick (copied from the blog post above):

Save the following as a .REG file and import it:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Folder\shell\Open12Folder]
@="12 Folder"

[HKEY_CLASSES_ROOT\Folder\shell\Open12Folder\Command]
@="cmd.exe /k cd \"%%CommonProgramFiles%%\\microsoft shared\\web server extensions\\12\\BIN\""

[HKEY_CLASSES_ROOT\Folder\shell\OpenNew]
@="Command Prompt"

[HKEY_CLASSES_ROOT\Folder\shell\OpenNew\Command]
@="cmd.exe /k cd %1"

 

cheers,

- mutaz