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.

SHARE

3 COMMENTS

  1. @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. 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??????

LEAVE A REPLY