{"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

\"command_prompt_anywhere_01\"<\/p>\n

To begin, click on your start menu and select Run\u2026<\/p>\n

\"command_prompt_anywhere_02\"<\/p>\n

This window will open. Clear whatever text is in it and type \u201cregedit\u201d as above.<\/p>\n

\"command_prompt_anywhere_03\"<\/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

\"command_prompt_anywhere_04\"<\/p>\n

Next, expand SOFTWARE<\/p>\n

\"command_prompt_anywhere_05\"<\/p>\n

Then, expand classes<\/p>\n

\"command_prompt_anywhere_06\"<\/p>\n

Scroll down to locate \u201cfolder\u201d. Expand \u201cfolder\u201d.<\/p>\n

\"command_prompt_anywhere_07\"<\/p>\n

Now we can see our source location for this guide which is \u201cshell\u201d<\/p>\n

\"command_prompt_anywhere_08\"<\/p>\n

Right-click on \u201cshell\u201d and highlight \u201cNew\u201d and select \u201cKey\u201d<\/p>\n

\"command_prompt_anywhere_09\"<\/p>\n

It will create the key and allow you to name it. Call it \u201cCommand Prompt\u201d<\/p>\n

\"command_prompt_anywhere_10\"<\/p>\n

On the right pane you will see a REG_SZ called default. Double-click on it.<\/p>\n

\"command_prompt_anywhere_11\"<\/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

\"command_prompt_anywhere_12\"<\/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

\"command_prompt_anywhere_13\"<\/p>\n

Name this key \u201ccommand\u201d<\/p>\n

\"command_prompt_anywhere_14\"<\/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

\"command_prompt_anywhere_15\"<\/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

\"command_prompt_anywhere_16\"<\/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

\"command_prompt_anywhere_17\"<\/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":"\nOpen a Command Prompt From Any Folder<\/title>\n<meta name=\"description\" content=\"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.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/teamtutorials.com\/windows-tutorials\/open-a-command-prompt-from-any-folder\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Mike Maguire\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/teamtutorials.com\/#website\",\"url\":\"https:\/\/teamtutorials.com\/\",\"name\":\"Team Tutorials\",\"description\":\"Learn something new today\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/teamtutorials.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/teamtutorials.com\/windows-tutorials\/open-a-command-prompt-from-any-folder#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"http:\/\/teamtutorials.com\/wp-content\/uploads\/2007\/10\/command_prompt_anywhere_01.jpg\",\"contentUrl\":\"http:\/\/teamtutorials.com\/wp-content\/uploads\/2007\/10\/command_prompt_anywhere_01.jpg\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/teamtutorials.com\/windows-tutorials\/open-a-command-prompt-from-any-folder#webpage\",\"url\":\"https:\/\/teamtutorials.com\/windows-tutorials\/open-a-command-prompt-from-any-folder\",\"name\":\"Open a Command Prompt From Any Folder\",\"isPartOf\":{\"@id\":\"https:\/\/teamtutorials.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/teamtutorials.com\/windows-tutorials\/open-a-command-prompt-from-any-folder#primaryimage\"},\"datePublished\":\"2007-10-10T21:07:19+00:00\",\"dateModified\":\"2007-10-10T21:07:19+00:00\",\"author\":{\"@id\":\"https:\/\/teamtutorials.com\/#\/schema\/person\/eb38d967529dbe49f7cbe082fd39105b\"},\"description\":\"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.\",\"breadcrumb\":{\"@id\":\"https:\/\/teamtutorials.com\/windows-tutorials\/open-a-command-prompt-from-any-folder#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/teamtutorials.com\/windows-tutorials\/open-a-command-prompt-from-any-folder\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/teamtutorials.com\/windows-tutorials\/open-a-command-prompt-from-any-folder#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/teamtutorials.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Open a Command Prompt From Any Folder\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/teamtutorials.com\/#\/schema\/person\/eb38d967529dbe49f7cbe082fd39105b\",\"name\":\"Mike Maguire\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/teamtutorials.com\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/36f2aa9a11241ca79ed05e758e36f3cb?s=96&d=mm&r=r\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/36f2aa9a11241ca79ed05e758e36f3cb?s=96&d=mm&r=r\",\"caption\":\"Mike Maguire\"},\"sameAs\":[\"http:\/\/mikemaguire.me\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Open a Command Prompt From Any Folder","description":"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.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/teamtutorials.com\/windows-tutorials\/open-a-command-prompt-from-any-folder","twitter_misc":{"Written by":"Mike Maguire","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/teamtutorials.com\/#website","url":"https:\/\/teamtutorials.com\/","name":"Team Tutorials","description":"Learn something new today","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/teamtutorials.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","@id":"https:\/\/teamtutorials.com\/windows-tutorials\/open-a-command-prompt-from-any-folder#primaryimage","inLanguage":"en-US","url":"http:\/\/teamtutorials.com\/wp-content\/uploads\/2007\/10\/command_prompt_anywhere_01.jpg","contentUrl":"http:\/\/teamtutorials.com\/wp-content\/uploads\/2007\/10\/command_prompt_anywhere_01.jpg"},{"@type":"WebPage","@id":"https:\/\/teamtutorials.com\/windows-tutorials\/open-a-command-prompt-from-any-folder#webpage","url":"https:\/\/teamtutorials.com\/windows-tutorials\/open-a-command-prompt-from-any-folder","name":"Open a Command Prompt From Any Folder","isPartOf":{"@id":"https:\/\/teamtutorials.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/teamtutorials.com\/windows-tutorials\/open-a-command-prompt-from-any-folder#primaryimage"},"datePublished":"2007-10-10T21:07:19+00:00","dateModified":"2007-10-10T21:07:19+00:00","author":{"@id":"https:\/\/teamtutorials.com\/#\/schema\/person\/eb38d967529dbe49f7cbe082fd39105b"},"description":"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.","breadcrumb":{"@id":"https:\/\/teamtutorials.com\/windows-tutorials\/open-a-command-prompt-from-any-folder#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/teamtutorials.com\/windows-tutorials\/open-a-command-prompt-from-any-folder"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/teamtutorials.com\/windows-tutorials\/open-a-command-prompt-from-any-folder#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/teamtutorials.com\/"},{"@type":"ListItem","position":2,"name":"Open a Command Prompt From Any Folder"}]},{"@type":"Person","@id":"https:\/\/teamtutorials.com\/#\/schema\/person\/eb38d967529dbe49f7cbe082fd39105b","name":"Mike Maguire","image":{"@type":"ImageObject","@id":"https:\/\/teamtutorials.com\/#personlogo","inLanguage":"en-US","url":"https:\/\/secure.gravatar.com\/avatar\/36f2aa9a11241ca79ed05e758e36f3cb?s=96&d=mm&r=r","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/36f2aa9a11241ca79ed05e758e36f3cb?s=96&d=mm&r=r","caption":"Mike Maguire"},"sameAs":["http:\/\/mikemaguire.me"]}]}},"_links":{"self":[{"href":"https:\/\/teamtutorials.com\/wp-json\/wp\/v2\/posts\/1048"}],"collection":[{"href":"https:\/\/teamtutorials.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/teamtutorials.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/teamtutorials.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/teamtutorials.com\/wp-json\/wp\/v2\/comments?post=1048"}],"version-history":[{"count":0,"href":"https:\/\/teamtutorials.com\/wp-json\/wp\/v2\/posts\/1048\/revisions"}],"wp:attachment":[{"href":"https:\/\/teamtutorials.com\/wp-json\/wp\/v2\/media?parent=1048"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/teamtutorials.com\/wp-json\/wp\/v2\/categories?post=1048"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/teamtutorials.com\/wp-json\/wp\/v2\/tags?post=1048"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}