Click here to Skip to main content
12,251,293 members (52,920 online)
Click here to Skip to main content
Add your own
alternative version

Stats

79.6K views
39 bookmarked
Posted

Open A Command Prompt Anywhere

, 8 Mar 2016 CPOL
Rate this:
Please Sign up or sign in to vote.
This hidden key-click combination adds the ability to open a command prompt window from a Windows Explorer view.

Maybe I'm the last one to find/discover this trick but I was so pleased to find it, I had to share it anyways.

Often when browsing directories in Windows Explorer, you want to open a command shell, using the directory being viewed as the current directory. In older versions of Windows, you could add an item to the context menu by adding a registry setting or installing a third-party utility.

In Windows 7 (and possibly Vista, Windows 2008), a menu item is added to the context-sensitive right-click menu by holding down SHIFT as you click:

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Yvan Rodrigues
Systems Engineer Clearpath Robotics
Canada Canada
Yvan Rodrigues has 25 years of experience in information systems and software development for the industry. He is Senior Systems Developer at Clearpath Robotics

He is a Certified Technician (C.Tech.), a professional designation granted by the Institute of Engineering Technology of Ontario (IETO).

Yvan draws on experience as owner of Red Cell Innovation Inc., Mabel's Labels Inc. as Manager of Systems and Development, and the University of Waterloo as Information Systems Manager.

Yvan supports open-source software. He is a committer for SharpKit (C# to Javascript cross-compiler) and WebIssues (Issue/Ticket Management System), TinyMCE (JavaScript editor), and contributes to MySQL, Ghostscript, iTextSharp, Bacula, FreeBSD, and Xamarin.

You may also be interested in...

Comments and Discussions

 
PraiseYvan thank you. Before voting some need reality check! Pin
Hamid Noorbakhsh10-Mar-16 6:42
memberHamid Noorbakhsh10-Mar-16 6:42 
Suggestion[My vote of 2] Your aren't the last . . . Pin
rhyous9-Mar-16 12:10
memberrhyous9-Mar-16 12:10 
AnswerRe: [My vote of 2] Your aren't the last . . . Pin
Yvan Rodrigues9-Mar-16 13:15
professionalYvan Rodrigues9-Mar-16 13:15 
QuestionYou can also just type "cmd" into the address bar. Pin
physincubus9-Mar-16 9:22
memberphysincubus9-Mar-16 9:22 
AnswerRe: You can also just type "cmd" into the address bar. Pin
Jeremy David Thomson9-Mar-16 11:21
memberJeremy David Thomson9-Mar-16 11:21 
GeneralRe: You can also just type "cmd" into the address bar. Pin
physincubus9-Mar-16 14:18
memberphysincubus9-Mar-16 14:18 
SuggestionCopy filename with path Pin
Don Wurtz9-Mar-16 8:00
memberDon Wurtz9-Mar-16 8:00 
GeneralMy vote of 1 Pin
Member 116878659-Mar-16 7:07
memberMember 116878659-Mar-16 7:07 
GeneralRe: My vote of 1 Pin
Yvan Rodrigues9-Mar-16 7:15
professionalYvan Rodrigues9-Mar-16 7:15 
GeneralRe: My vote of 1 Pin
jtmueller9-Mar-16 10:59
memberjtmueller9-Mar-16 10:59 
GeneralRe: My vote of 1 Pin
Alexms9-Mar-16 7:37
memberAlexms9-Mar-16 7:37 
GeneralRe: My vote of 1 Pin
jtmueller9-Mar-16 10:53
memberjtmueller9-Mar-16 10:53 
QuestionShould also be a Open Powershell Here Pin
Member 77540439-Mar-16 6:56
memberMember 77540439-Mar-16 6:56 
Suggestion[My vote of 1] That's too slow for a lazy one like me Pin
Pushparaj Adigopula9-Mar-16 2:49
memberPushparaj Adigopula9-Mar-16 2:49 
GeneralRe: [My vote of 1] That's too slow for a lazy one like me Pin
RogerDW9-Mar-16 4:43
memberRogerDW9-Mar-16 4:43 
QuestionOpen a command prompt anywhere Pin
GioLac_CDPRJ9-Mar-16 1:47
professionalGioLac_CDPRJ9-Mar-16 1:47 
AnswerRe: Open a command prompt anywhere Pin
Member 104422389-Mar-16 2:27
professionalMember 104422389-Mar-16 2:27 
GeneralRe: Open a command prompt anywhere Pin
GioLac_CDPRJ9-Mar-16 4:55
professionalGioLac_CDPRJ9-Mar-16 4:55 
GeneralRe: Open a command prompt anywhere Pin
Uni Dyne9-Mar-16 7:13
memberUni Dyne9-Mar-16 7:13 
GeneralAnd something more in Windows 10 Pin
Κώστας Κλάδης8-Mar-16 23:43
memberΚώστας Κλάδης8-Mar-16 23:43 
QuestionMy vote of 5 Pin
robertcain18-Jun-14 22:58
memberrobertcain18-Jun-14 22:58 
QuestionMy vote of 5 Pin
Manikandan109-Jun-14 19:46
professionalManikandan109-Jun-14 19:46 
QuestionIt's is nice tip Pin
taebum kim1-Sep-13 14:14
membertaebum kim1-Sep-13 14:14 
GeneralMy vote of 5 Pin
Plamen19676-Mar-13 0:54
memberPlamen19676-Mar-13 0:54 
QuestionCmd Pin
Amin_91322-Feb-13 3:01
memberAmin_91322-Feb-13 3:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160426.1 | Last Updated 8 Mar 2016
Article Copyright 2011 by Yvan Rodrigues
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid