Tuesday, October 30, 2007

Open Command Window Here - Registry

Would you like to open command(CMD) in target folder?

1. Right Click your target folder.

2. Windows command prompt will show

This page show the instruction to create open command in context menu by editing the window registry

Step by Step
  1. Open "Regedit" program is a Registry editor by typing "regedit" in strat->Run as shown in below picture
  2. Create "Open Command Here" key in HKEY_CLASSES_ROOT\Directory\shell
  3. Create "Command" key in previous key (HKEY_CLASSES_ROOT\Directory\shell\Open Command Here)
  4. Set the default value to "cmd.exe /k pushd %L"