{"id":1048,"date":"2007-10-10T16:07:19","date_gmt":"2007-10-10T21:07:19","guid":{"rendered":"http:\/\/teamtutorials.com\/windows-tutorials\/open-a-command-prompt-from-any-folder"},"modified":"2007-10-10T16:07:19","modified_gmt":"2007-10-10T21:07:19","slug":"open-a-command-prompt-from-any-folder","status":"publish","type":"post","link":"https:\/\/teamtutorials.com\/windows-tutorials\/open-a-command-prompt-from-any-folder","title":{"rendered":"Open a Command Prompt From Any Folder"},"content":{"rendered":"
Tired of launching a command prompt window, only to have to type in folder names to get where you want to be? Well, this tutorial will guide you though making it possible to launch a command prompt from any folder on your computer. This way when the command prompt opens, it is already in the directory you wish to be in. (Note: This tutorial involves modifying the Windows Registry and if you do not feel comfortable doing this, please do not continue as we can not be held responsible for any mistakes that are made. Thank-you)<\/p>\n
<\/p>\n
To begin, click on your start menu and select Run\u2026<\/p>\n
<\/p>\n
This window will open. Clear whatever text is in it and type \u201cregedit\u201d as above.<\/p>\n
<\/p>\n
This will open the above pictured window. This is the Windows Registry Editor. You can change some pretty awesome settings as well as render your OS incapable of booting, so please follow these instructions carefully. We need to locate the following key:
\nHKEY_LOCAL_MACHINE\/Software\/Classes\/Folder\/Shell
\nTo do this, start by Expanding (hitting the plus next to..)HKEY_LOCAL_MACHINE<\/p>\n
<\/p>\n
Next, expand SOFTWARE<\/p>\n
<\/p>\n
Then, expand classes<\/p>\n
<\/p>\n
Scroll down to locate \u201cfolder\u201d. Expand \u201cfolder\u201d.<\/p>\n
<\/p>\n
Now we can see our source location for this guide which is \u201cshell\u201d<\/p>\n
<\/p>\n
Right-click on \u201cshell\u201d and highlight \u201cNew\u201d and select \u201cKey\u201d<\/p>\n
<\/p>\n
It will create the key and allow you to name it. Call it \u201cCommand Prompt\u201d<\/p>\n
<\/p>\n
On the right pane you will see a REG_SZ called default. Double-click on it.<\/p>\n
<\/p>\n
This box will pop up. This is where you type what you want to appear on the menu when you right-click on the folder in which you want to open the command prompt. The nice thing is if you feel that you want to change the name some time down the road. You can simply come back to here and rename this key to what-ever you would like.<\/p>\n
<\/p>\n
Next, create a new key within our \u201cCommand Prompt\u201d Key that we made earlier. To do this right-click in the right pane and hover over new and select \u201ckey\u201d.<\/p>\n
<\/p>\n
Name this key \u201ccommand\u201d<\/p>\n
<\/p>\n
Once you select \u201ccommand\u201d you will see the \u201cDefault\u201d key on the right. Double click on it to enter in the default data.<\/p>\n
<\/p>\n
This time make the default data:
\nCme.exe \/k pushd %L
\nThis is the last step of editing the registry. You can now close out of the Registry Editor.<\/p>\n
<\/p>\n
If you have any folders on the desktop, we can use those, if not go to my documents and find a folder to try it on. Right click on the folder as shown above, you should now see the key that you made in the menu. (In mine \u201cAnything You Like\u201d is the second one down.)<\/p>\n
<\/p>\n
When your command prompt window opens, your directory should now be whatever folder that you selected, as shown above. I hope this tutorial will be helpful and was easy to follow. Thank-you for reading.<\/p>\n","protected":false},"excerpt":{"rendered":"
Tired of launching a command prompt window, only to have to type in folder names to get where you want to be? Well, this tutorial will guide you though making it possible to launch a command prompt from any folder on your computer.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[27,16,12],"tags":[],"yoast_head":"\n