.

Command Prompt On Right-Clicking A Folder


With this tip, you can right-click any folder in your windows and open a command prompt at that folder. It is a very old hack and I am mentioning it here  because of compulsion.

1. Run the Registry Editor and navigate to   HKEY_LOCAL_MACHINE/Software/Classes/Folder/Shell.



2. Create a new key called Command Prompt.

3. For the default value, enter whatever text you
want to appear when you right-click a folder..

4. Create a new key beneath the Command Prompt key called Command.

5. Set the default value to Cmd.exe /k pushd %L.
That value will launch Cmd.exe, which is the XP command prompt.
The “/k” switch puts the prompt into interactive mode. That is, it lets you issue commands from the command prompt; the
command prompt isn't being used to issue only a single command and then exit. The “pushd”
command stores the name of the current directory, and “%L” uses that name to start the
command prompt at it. Exit the Registry.....