Tuesday, May 15, 2007

Add a Command Prompt option to the default Explorer right click context menu

Through the Registry
  1. Navigate in your Registry to

    HKEY_LOCAL_MACHINE/Software/Classes/Folder/Shell

    and create a key called "Command Prompt" without the quotes.

  2. Set the default string to whatever text you want to appear in the right-click menu.

  3. Create a new key within your newly created command prompt named "command," and set the default string to

    Cmd.exe /k pushd %L

    You may need to add %SystemRoot%/ before the Cmd.exe if the executable can't be found.

  4. The changes should take place immediately. Right click a folder and your new menu item should appear.

Note: You can do the same for Windows 98. Type in "c:\windows\command.com /k pushd %L" (without the quotes).

For more details goto this link

No comments: