Add Command Prompt to the Context Menu

Well many of us still use the command prompt (atleast I do) to test several things or love working with batch files. For that purpose I need to access many folders on different drives. Using CD repeatedly can be a pain when you need to do it frequently. There are power toys & tweaks available which allow us to add the functionality of accessing a folder directly in command prompt but I am going to share a simple trick to implement it in WinXP.

Step # 1 Just Select Folder Options from Tools menu


Step # 2 Under the File Types tab, find entry named Folder and click on Advanced


Step # 3 Select New to add a new entry in context menu


Step # 4 Type “CMD” or anything you like to appear on context menu in Action and type cmd.exe /k cd %1 below it


Step # 5 Select Ok as many times as it ask for to come back to the explorer window where you started. Now when you right click on any folder, there will be a context menu entry for accessing that folder in command prompt.


Do post your opinion how you find the tutorial and let me know if you need any further assistance.


6 responses to “Add Command Prompt to the Context Menu”

  1. Hey Nice trick I like it… ๐Ÿ˜ˆ

  2. @Bontb
    I am glad that you like it. ๐Ÿ˜€

  3. Nice tip, but I use a power toy for windows XP which adds the Open Command Prompt Window here to the context menu..

  4. @Keith Dsouza
    Yes I am aware of such power toy but there is always a way by which you can implement things directly. It is just an effort from my side to expose things. ๐Ÿ˜€

  5. dats a great post bt i was wondering hw abt removing the action from the context menu?

    1. @Charu
      In step #3, there is a “remove” button too.