Click here to Skip to main content
12,630,137 members (27,075 online)
Click here to Skip to main content
Add your own
alternative version

Stats

151.2K 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...

Pro
Pro

Comments and Discussions

 
PraiseYvan thank you. Before voting some need reality check! Pin
Hamid Noorbakhsh10-Mar-16 7:42
memberHamid Noorbakhsh10-Mar-16 7:42 
Suggestion[My vote of 2] Your aren't the last . . . Pin
rhyous9-Mar-16 13:10
memberrhyous9-Mar-16 13:10 
AnswerRe: [My vote of 2] Your aren't the last . . . Pin
Yvan Rodrigues9-Mar-16 14:15
professionalYvan Rodrigues9-Mar-16 14:15 
QuestionYou can also just type "cmd" into the address bar. Pin
physincubus9-Mar-16 10:22
memberphysincubus9-Mar-16 10:22 
AnswerRe: You can also just type "cmd" into the address bar. Pin
Jeremy David Thomson9-Mar-16 12:21
memberJeremy David Thomson9-Mar-16 12:21 
GeneralRe: You can also just type "cmd" into the address bar. Pin
physincubus9-Mar-16 15:18
memberphysincubus9-Mar-16 15:18 
SuggestionCopy filename with path Pin
Don Wurtz9-Mar-16 9:00
memberDon Wurtz9-Mar-16 9:00 
GeneralMy vote of 1 Pin
Member 116878659-Mar-16 8:07
memberMember 116878659-Mar-16 8:07 
GeneralRe: My vote of 1 Pin
Yvan Rodrigues9-Mar-16 8:15
professionalYvan Rodrigues9-Mar-16 8:15 
GeneralRe: My vote of 1 Pin
jtmueller9-Mar-16 11:59
memberjtmueller9-Mar-16 11:59 
GeneralRe: My vote of 1 Pin
Alexms9-Mar-16 8:37
memberAlexms9-Mar-16 8:37 
GeneralRe: My vote of 1 Pin
jtmueller9-Mar-16 11:53
memberjtmueller9-Mar-16 11:53 
QuestionShould also be a Open Powershell Here Pin
Member 77540439-Mar-16 7:56
memberMember 77540439-Mar-16 7:56 
Suggestion[My vote of 1] That's too slow for a lazy one like me Pin
Pushparaj Adigopula9-Mar-16 3:49
memberPushparaj Adigopula9-Mar-16 3:49 
GeneralRe: [My vote of 1] That's too slow for a lazy one like me Pin
RogerDW9-Mar-16 5:43
memberRogerDW9-Mar-16 5:43 
QuestionOpen a command prompt anywhere Pin
GioLac_CDPRJ9-Mar-16 2:47
professionalGioLac_CDPRJ9-Mar-16 2:47 
AnswerRe: Open a command prompt anywhere Pin
Member 104422389-Mar-16 3:27
professionalMember 104422389-Mar-16 3:27 
GeneralRe: Open a command prompt anywhere Pin
GioLac_CDPRJ9-Mar-16 5:55
professionalGioLac_CDPRJ9-Mar-16 5:55 
GeneralRe: Open a command prompt anywhere Pin
Uni Dyne9-Mar-16 8:13
memberUni Dyne9-Mar-16 8:13 
GeneralAnd something more in Windows 10 Pin
Κώστας Κλάδης9-Mar-16 0:43
memberΚώστας Κλάδης9-Mar-16 0:43 
QuestionMy vote of 5 Pin
robertcain18-Jun-14 23:58
memberrobertcain18-Jun-14 23:58 
QuestionMy vote of 5 Pin
Manikandan109-Jun-14 20:46
professionalManikandan109-Jun-14 20:46 
QuestionIt's is nice tip Pin
taebum kim1-Sep-13 15:14
membertaebum kim1-Sep-13 15:14 
GeneralMy vote of 5 Pin
Plamen19676-Mar-13 1:54
memberPlamen19676-Mar-13 1:54 
QuestionCmd Pin
Amin_91322-Feb-13 4:01
memberAmin_91322-Feb-13 4:01 
Another way:
You can type CMD in Address bar anywhere you want and press Enter!
AnswerRe: Cmd Pin
Yvan Rodrigues22-Feb-13 4:08
subeditorYvan Rodrigues22-Feb-13 4:08 
GeneralMy vote of 5 Pin
Mehuge28-Jan-13 23:57
memberMehuge28-Jan-13 23:57 
GeneralMy vote of 5 Pin
Zuoliu Ding28-Jan-13 14:24
memberZuoliu Ding28-Jan-13 14:24 
GeneralMy vote of 3 Pin
Elrond28-Jan-13 7:47
memberElrond28-Jan-13 7:47 
GeneralRe: My vote of 3 Pin
Yvan Rodrigues28-Jan-13 8:05
subeditorYvan Rodrigues28-Jan-13 8:05 
GeneralRe: My vote of 3 Pin
Elrond28-Jan-13 8:15
memberElrond28-Jan-13 8:15 
GeneralRe: My vote of 3 Pin
Mehuge28-Jan-13 23:59
memberMehuge28-Jan-13 23:59 
GeneralRe: My vote of 3 Pin
Elrond29-Jan-13 0:04
memberElrond29-Jan-13 0:04 
GeneralRe: My vote of 3 Pin
Mehuge29-Jan-13 0:39
memberMehuge29-Jan-13 0:39 
GeneralMy vote of 5 Pin
RaviGupta798627-Jan-13 23:48
memberRaviGupta798627-Jan-13 23:48 
GeneralMy vote of 5 Pin
RdickeyTech23-Jan-13 9:14
memberRdickeyTech23-Jan-13 9:14 
GeneralMy vote of 1 Pin
ii_noname_ii23-Jan-13 2:24
memberii_noname_ii23-Jan-13 2:24 
QuestionWow Pin
JonasAndersson22-Jan-13 12:46
memberJonasAndersson22-Jan-13 12:46 
GeneralMy vote of 5 Pin
Heaven20207-Nov-12 4:45
memberHeaven20207-Nov-12 4:45 
GeneralMy vote of 5 Pin
Heaven20207-Nov-12 4:42
memberHeaven20207-Nov-12 4:42 
GeneralGood tip. Pin
SoMad16-Jun-12 11:56
memberSoMad16-Jun-12 11:56 
QuestionDo you associated code with the page ? Pin
sanlingdd23-Apr-12 3:21
membersanlingdd23-Apr-12 3:21 
GeneralMy vote of 5 Pin
AminRahimi17-Apr-12 3:59
memberAminRahimi17-Apr-12 3:59 
GeneralMy vote of 5 Pin
Reza Ahmadi9-Apr-12 5:56
memberReza Ahmadi9-Apr-12 5:56 
GeneralReason for my vote of 5 Believe me, you are not the last one... Pin
RaisKazi28-Dec-11 21:04
memberRaisKazi28-Dec-11 21:04 
GeneralI've used this for a while, but for some reason on my home c... Pin
lewax009-Nov-11 12:38
memberlewax009-Nov-11 12:38 
GeneralReason for my vote of 5 Good one! I didn't know that. Pin
Walt Fair, Jr.31-Aug-11 9:23
subeditorWalt Fair, Jr.31-Aug-11 9:23 
GeneralReason for my vote of 5 Excellent tip, thanks for sharing! Pin
DrABELL24-Jun-11 9:58
memberDrABELL24-Jun-11 9:58 
GeneralCool, Great tip My 5! Pin
Vivek Krishnamurthy24-Jun-11 0:39
memberVivek Krishnamurthy24-Jun-11 0:39 
GeneralReason for my vote of 5 Reason for my vote of 5 Nice Tips Pin
RaviRanjankr22-Jun-11 2:13
mvpRaviRanjankr22-Jun-11 2:13 

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.161205.3 | Last Updated 8 Mar 2016
Article Copyright 2011 by Yvan Rodrigues
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid