DOS Prompt option in context menu of any file.

Click here to run a free scan for registry errors
This setting enables you to have DOS Prompt option in the right-click menu of any file in a folder.
Level: Recommended For Experts Only
Description:
Context menu is a very useful tool to make your working quite easy. You have many choices for working on a file. This setting can open the command prompt and show the folder/directory path where the file is currently placed. For this, go to start > run menu, enter regedit and navigate to the registry path listed below. If any of the subkeys \shell\doshere\ is not present, create it as explained below. Now, change the string value of default to dos prompt under doshere key. Then, create another sub key under doshere with the name command and change its string value default to the data cmd.exe /k. However, if you want to revert to the original context menu condition, delete the subkey shell. Refresh view of your system for the changes to take effect. Note: the windows 98 and me users should change the string value default to the data command.com /k. When editing the registry it is highly recommended to run a quick scan for optimization, you can test your system now for free.




Screenshots


First, click the 'Start' button, and select 'Run'. In the resulting dialog box, type "regedit".
Second, go to the <b>[HKEY_CLASSES_ROOT\*\]</b> key, right-click and click on "New > Key" to create a new key with the name "Shell".
Third, right-click on the 'Shell' key and click on "New > Key" to create a new key with the name "DosHere".
Fourth, right-click on the "Default" String value and click on "Modify".
Fifth, enter the value "DOS &Prompt" in the text box and click on 'OK'.
Sixth, right-click on the 'DosHere' key and click on "New > Key" to create a new key with the name "Command".
Seventh, right-click on the "Default" String value and click on "Modify".
Eigth, enter the value "cmd.exe /k" in the text box and click on 'OK'.


Registry Entries

- back to top

  • Path: [HKEY_CLASSES_ROOT\*\]
  • Location: Root
  • Value Name: Shell
  • Data Type: Key
  • Action Type: Add an Entry
  • Path: [HKEY_CLASSES_ROOT\*\Shell\]
  • Location: Root
  • Value Name: DosHere
  • Data Type: Key
  • Action Type: Add an Entry
  • Path: [HKEY_CLASSES_ROOT\*\Shell\DosHere\]
  • Location: Root
  • Value Name: Default
  • Data Type: REG_SZ (String Value)
  • Action Type: Modified
  • Path: [HKEY_CLASSES_ROOT\*\Shell\DosHere\]
  • Location: Root
  • Value Name: Command
  • Data Type: Key
  • Action Type: Add an Entry
  • Path: [HKEY_CLASSES_ROOT\*\Shell\ DosHere\Command\]
  • Location: Root
  • Value Name: Default
  • Data Type: REG_SZ (String Value)
  • Action Type: Modified


Related Tweaks

- back to top