Wednesday 8 July 2015

How to open command prompt directly by using right click

If you often use command prompt and have not created a quick launch icon for command prompt or any other shortcut then this method can be very useful for you.

Steps - On your desktop hold shift and right click anywhere, you will see an option Open Command Prompt here, just click it and you are in your command prompt which is in your Desktop directory.


Note:  By this method you can access command prompt anywhere directly, but you will be prompted
to same directory in which you use this method.

Alternatively...


 To Open command prompt by right clicking on a folder, follow the below steps :
1. Run the Registry Editor. (Open run and type regedit and press enter )
2. Go to HKEY_LOCAL_MACHINE/Software/Classes/Folder/Shell.
3 Create a new key here called Command Prompt. 




4. On the right side you will see default. Double click it and set value to "Open Command Prompt Here" 




5. Create a new key beneath the Command Prompt key called Command in a similar way as you did before 
6. This time change the default value to "cmd.exe /k cd %1"
7. Now refresh and right click any folder and you shall see the Option you created in step 4

No comments:

Post a Comment