About Me

My photo

...am a nice person, that's it..... i think so.....

Monday, October 26, 2009

Command Prompt - Anywhere!!!

You often feel the need to navigate to a directory nested in a deep folder hierarchy, and it often becomes a pain using DOS commands, especially handling blank spaces and all. So this is a tip to open a command prompt right at the desired folder that you want. Just follow the following steps and try out (for this you need to modify your registry, however this should not do any harm):

  1. Goto to HKEY_CLASSES_ROOT\Folder\shell.
  2. Create a new key named say Command Prompt.
  3. Create another new key named say Command within Command Prompt.
  4. Modify the default string value of Command to the following: c:\windows\system32\cmd.exe %1