• Skip to main content
  • Skip to primary sidebar
  • Advertise

Computer Tips And Tricks, Gadgets, How-To, Life - 2.0 Style

Get latest technology updates and computer tips and tricks.

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

June 12, 2009 by Gautam

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.

Filed Under: Computer Tips And Tricks, How To's, Microsoft Windows Tips And Tricks Tagged With: cmd here, command prompt here

Reader Interactions

Comments

  1. Aashish V says

    December 11, 2012 at 2:18 pm

    @Ajit.D …. You might need to check the SuperAntiSpyware’s product documentation, if it supports any Command line switches which can allow you to scan a specific sub-folder, when you right-click it. This is one, I’ve found.

    http://forums.superantispyware.com/index.php?/topic/5000-command-line-switches-for-sas-5/

    So, the value in the path would be something like ;
    C:\Program Files\SUPERAntiSpyware.exe -S -F:MyDocuments

    I’m not saying these switches are available and will work as of today. However, the product manufacturers of SAS-5 are working on this feature, but unfortunately it will be available for its’ Enterprise or Professional editions only and not for the FREE ones.!

    Hope this helps … ! CHEERS !!

  2. Ajit D says

    January 5, 2010 at 7:21 pm

    path was C:\Program Files\SUPERAntiSpyware.exe

  3. Ajit D says

    January 5, 2010 at 7:18 pm

    Thanks a lot but I have a question now..
    By following the same process I’ve created a context menu “Scan with SuperAntiSpyware” and given the path “C:\Program Files\SUPERAntiSpyware”, which is correct as well.

    by why it is not scanning the particular folder? and also tell me How to remove this context menu because options of EDIT and REMOVE are disabled..Why??????

Primary Sidebar

Copyright © 2023 · Magazine Pro on Genesis Framework · WordPress · Log in