Add a command prompt option to the default explorer right click on the context menu.

If you find that you frequently open command prompt window and change to a specific directory, you can add a command prompt to your shortcut menu. This option enables you to right click on a folder within Windows Explorer and choose the Command prompt, which opens a Command Prompt window with that folder as your active directory.
To add the command prompt option to the default right-click context in Windows Explorer, do the following:


  • Navigate in your registry to HKEY_LOCAL_MACHINE/Software/Classes/Folder/Shell and create a key called “Command Prompt” without the quotes.
  • Set the default string to whatever text you want to appear in the right-click menu.
  • Create a new key within your newly created command prompt named “Command”, and set the default string to Cmd.exe /k pushed %L. You may need to add %SyetemRoot%/ before the Cmd.exe if the executable file can’t be found.
  • The changes take place immediately. Right click on the folder and your new menu item will appear.

NOTE: You can do the same for Windows 98. Type in “c:\command.com /k pushed %L” (Without the quotes)



Published by Ashish

Hello friends, I am Ashish Barad, a tech lover student of MCA 2nd year from Nagpur, India.

Join the Conversation

4 Comments

  1. Pingback: online flash cards
  2. Pingback: top 10 mattress
Leave a comment

Your email address will not be published. Required fields are marked *

 

This site uses Akismet to reduce spam. Learn how your comment data is processed.