Sunday 28 April 2013

Open Command Prompt Any Where

If you are a programmer or you like to work with command line or you use some utilities that only runs on command line then you might really hate opening the command line then separately moving to the current directory by typing cd [my directory]  hundred times trying to keeping the spellings of your directory path exactly same....
I my self really dont like it. So there is the mercy of Windows Registry....
According to Wikipedia
The Windows Registry is a hierarchical database that stores configuration settings and options on Microsoft Windows operating systems. It contains settings for low-level operating system components and for applications running on the platform that have opted to use the registry.

 Opting the other details I am going to show you a way with which you can open the command prompt directly to your current working directory.



Here are a few easy steps to get this functionality.



  1. Open Run from start menu or press win+R.
  2. Type regedit and press ok.
  3. In the Registry Editor press Cltr+F to open find dialog and uncheck all options except "key". Press Find.
  4. The key tree view will high light some key like "CDO.DropDirectory". But this is not what we are looking for.
  5. Just keep pressing F3 until the tree high lights the key with name "Direcotry".
  6. Drop this key. You will find 3 further keys here. Drop the one with name Background.
  7. Here you will find 2 keys again. Right click the "shell" key and create a new key.
  8. Name this key "Open Command Prompt Here" or any other name that you want....!
  9. Now right click this key and create another with name "command".
  10. High light the command key and you will see that the table on the right column is showing (Default), REG_SZ, Not Set. Right click it and press Modify...
  11. In the key value input box right "cmd.exe".


Now go to any of your directory right click and Enjoy!

No comments:

Post a Comment