Open command line from here

Have a suggestion for "Everything"? Please post it here.
Post Reply
TheLostOne
Posts: 9
Joined: Wed Sep 16, 2009 3:11 am

Open command line from here

Post by TheLostOne »

Hello!

It would be nice to have the option "open command line from here" or similar when right clicking on a result, whether it's a file or folder.

Thanks & best regards
David
Developer
Posts: 430
Joined: Tue Mar 17, 2009 1:42 am

Re: Open command line from here

Post by David »

You can add a context menu item to open a command prompt for folders by adding the following registry entry:

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Folder\shell\Command Prompt\command]
@="cmd %1"
Save the above as a .reg file and run it.

You can do the same for files with the following:

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\Command Prompt\command]
@="cmd %1"
The option to use additional command line options when running an item from "Everything" is on my "Things to do" list..
TheLostOne
Posts: 9
Joined: Wed Sep 16, 2009 3:11 am

Re: Open command line from here

Post by TheLostOne »

David wrote:You can add a context menu item to open a command prompt for folders by adding the following registry entry:

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Folder\shell\Command Prompt\command]
@="cmd %1"
Save the above as a .reg file and run it.

You can do the same for files with the following:

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\Command Prompt\command]
@="cmd %1"
The option to use additional command line options when running an item from "Everything" is on my "Things to do" list..
Thanks David!
That's working and is very useful!
Post Reply