How To Get Run Command Option For Folders In Right Click Context Menu

If you have a Windows, you’ve probably never seen a day without using ‘Command Prompt’. Command Prompt is great to do a lot of quick primitive tasks on Windows.

Traditional way of getting the command prompt is to click on Start menu –> Run –> type cmd –> hit Enter. This will open command prompt for your desktop by default or a level up. If you have to perform a task in a particular folder, then you’ll need to navigate using command prompt commands. This is a bit annoying if you have to do it a couple of times in a row. Imagine what you’d go through if you are a network admin !

There is an easy way to add ‘Open Command Prompt’ option to the right-click context menu of folders. This will save you time. To get this:

1> Open any folder, go to ‘Tools –> Folder Options –> File Types –> select Folder –> click Advanced –> click New

How To Get Run Command Option For Folders In Right Click Context Menu

2> A New Action, window will pop up. In the Action field fill in ‘Open Cmd Prompt Here‘ and and in the Application used to perform action fill the physical address of the batch file you have created above, in our case it is “cmd.exe”. Click OK till you exit out of all windows and the value will be saved.

3> Click OK till you exit out of all windows and the value will be saved.

Now when you right on any folder, you’ll find a new option in the context menu which will be ‘Open Cd Propmt Here’, clicking on it will open a command prompt with refernce to that particular folder.