Jump to content

Command prompt contet menu


Recommended Posts

Posted

The following adds "command prompt" to right click context menu on folders.


Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\Command prompt]
@="Command prompt"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\Command prompt\command]
@="cmd.exe /k \"cd %L\""

my question is: is it possible to add "command prompt" to the context menu when right clicking inside the window of an open folder but not on the folder itself or any object in it. (the menu that has New, View, Arrange Icons By, Properties, Refresh)

it is painful at a high resolution to have to hit the tiny icon with your mouse in the corner of the folder window to right click it.

Leon


Posted

Do you mean something like this?

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\DosHere]
@="Command Prompt in containing folder"

[HKEY_CLASSES_ROOT\*\shell\DosHere\Command]
@="cmd.exe /t:70 cd %~d1%~p1"

This

Remove the /t:70 to have default white letters on black screen

Posted (edited)

that's closer - that adds the prompt to the context menu on any file inside of a folder view and on the desktop...but if i right click inside empty space in the folder window and not a file in it, i still see the same old menu.

one example is if you go into the "Documents and Settings" folder, and right click inside that view, it will have a "Customize This Folder" in the context menu. thats where i want to add cmd, but i looked for "Customize This Folder" in my entire registry and couldnt find where that entry is made.

thanks,

Leon

Edited by Leeoniya
Posted

I think I understand, but not sure how to do it.

Hpefully someone else here can help.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...