Ways to open command prompt in a folder in windows 10

*
Walter GlennFormer Editorial Director

Walter Glenn is a former Editorial Director for How-To Geek & its sister sites. He has more than 30 years of experience in the computer industry & over 20 years as a technical writer & editor. He"s written hundreds of articles for How-To Geek & edited thousands. He"s authored or co-authored over 30 computer-related books in more than a dozen languages for publishers lượt thích Microsoft Press, O"Reilly, & Osborne/McGraw-Hill. He"s also written hundreds of Trắng papers, articles, user manuals, and courseware over the years. Read more...

You watching: Ways to open command prompt in a folder in windows 10

About How-To Geek
wjglenn
UpdatedJul 11, 2017, 10:16 pm EDT| 3 min read
*

The Windows 10 Creators Update removes the Commvà Prompt command from context menus in favor of using PowerShell. Here’s how lớn put it baông xã.

xuất hiện Registry Editor.Navigate to lớn HKEY_CLASSES_ROOTDirectoryshellcmd.Take ownership of the cmd key.In the cmd key, rename the HideBasedOnVelocityID value by putting an underscore (_) before its name.Exit Registry Editor.

The Creators Update for Windows 10 really pushes you khổng lồ use PowerShell instead of Command Prompt, replacing the shortcut on the Windows+X Power User thực đơn and the extended context menu you get when you Shift+right-cliông xã a folder in File Explorer. We’ve sầu already showed you how to put Commvà Prompt baông xã on the Power nguồn Users menu. If you’re willing lớn dive sầu into the Windows Registry for a quiông chồng change, you can also add it bachồng your context menus. Plus, this technique doesn’t remove sầu the PowerShell commvà. You get both!

RELATED: What"s New in Windows 10"s Creators Update

Note: The techniques in this article only apply to PCs that have sầu been upgraded khổng lồ the Windows 10 Creators Update. If you’re not running it yet, you won’t need this trichồng anyway, since you still have Commvà Prompt on your context menus.


Add “xuất hiện Comm& Window Here” to lớn Context Menus by Editing the Registry Manually

To put the Comm& Prompt command back on your context menus, you just need to make a single edit in the Windows Registry.

Standard warning: Registry Editor is a powerful tool and misusing it can render your system unstable or even inoperable. This is a pretty simple hack và as long as you stick to lớn the instructions, you shouldn’t have any problems. That said, if you’ve never worked with it before, consider reading about how to lớn use the Registry Editor before you get started. And definitely bachồng up the Registry (và your computer!) before making changes.

See more: Top 7 Cách Điều Khiển Android Bằng Máy Tính Thông Qua Cáp Usb

RELATED: Learning to lớn Use the Registry Editor Like a Pro

xuất hiện the Registry Editor by hitting Start & typing “regedit.” Press Enter lớn open Registry Editor, và then give sầu it permission khổng lồ make changes to your PC.

In the Registry Editor, navigate khổng lồ the following key:

HKEY_CLASSES_ROOTDirectoryshellcmd

*

Note: You can drill down to lớn that key the old-fashioned way, but note that the Creators Update also makes the long-awaited change of adding an address bar lớn Registry Editor. So, you can just copy that location, paste it inkhổng lồ the address bar, và hit Enter. Very handy!

RELATED: How khổng lồ Gain Full Permissions lớn Edit Protected Registry Keys

By default, the cmd key is protected from changes. You’ll need to lớn take ownership of it and then give yourself full permissions to lớn edit it. We’ve got a great guide on gaining full permissions to edit protected Registry keys, so use the instructions there to gain access khổng lồ the cmd key before continuing on with these instructions.

After gaining control of the cmd key, you’re going khổng lồ make one small change lớn one of the values inside it. Right-click the HideBasedOnVelocityId value và select the “Rename” comm&. Just put an underscore ( _ ) at the beginning of the value’s existing name. All we’re doing here is making the value not register.

*

And that’s all you have to vì chưng. The changes take place immediately, so test it by Shift+right clicking a thư mục & making sure the “xuất hiện comm& window here” commvà is bachồng. (Note: You can no longer Shift+right click on an empty space within a folder lượt thích you use lớn be able lớn, you must Shift+right clichồng on an actual thư mục for this lớn work.)

*


Advertisement

If you want to lớn remove the command again sometime in the future, just go back khổng lồ the cmd key & remove sầu the underscore you added khổng lồ the HideBasedOnVelocityId value’s name.

Download Our One-Click Registry Hacks

*

If you don’t feel like diving inlớn the Registry yourself, we’ve created some registry hacks you can use. The “Put Command Prompt on Context Menu” haông chồng modifes the value you need to lớn put the Command Prompt comm& baông xã on the context menu. The “Remove Commvà Prompt on Context Menu (Default)” haông chồng removes the comm&, restoring the default state và leaving only the PowerShell comm&. Both hacks are included in the following ZIP tệp tin.

See more: Tải Code Hack Facebook - Hack Nick Facebook Bằng Code

Command Prompt Context Menu Hacks

RELATED: How to Make Your Own Windows Registry Hacks

These hacks are really just the cmd key, stripped down lớn the HideBasedOnVelocityId value we talked about in the previous section and then exported khổng lồ a .REG tệp tin. Running the hacks modifies the value. And if you enjoy fiddling with the Registry, it’s worth taking the time lớn learn how lớn make your own Registry hacks.


READ NEXT
*
Walter GlennWalter Glenn is a former Editorial Director for How-To Geek và its sister sites. He has more than 30 years of experience in the computer industry & over đôi mươi years as a technical writer and editor. He"s written hundreds of articles for How-To Geek and edited thousands. He"s authored or co-authored over 30 computer-related books in more than a dozen languages for publishers lượt thích Microsoft Press, O"Reilly, và Osborne/McGraw-Hill. He"s also written hundreds of Trắng papers, articles, user manuals, và courseware over the years. Read Full Bio »

Chuyên mục: Download