Click here to Skip to main content
12,075,542 members (67,520 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as


32 bookmarked

Open a command prompt anywhere.

, 22 Jan 2013 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:


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


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

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 
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 
Reason for my vote of 5
Believe me, you are not the last one. Smile | :)
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 
GeneralIt does works in Windows XP SP3 also. Pin
oorja21-Jun-11 2:13
memberoorja21-Jun-11 2:13 
GeneralReason for my vote of 5 Very helpful Pin
efbe20-Jun-11 18:26
memberefbe20-Jun-11 18:26 
Generalits there in old XP as well Pin
Member 435326914-Jun-11 21:44
memberMember 435326914-Jun-11 21:44 
GeneralRe: Really? Pin
Yvan Rodrigues15-Jun-11 3:31
memberYvan Rodrigues15-Jun-11 3:31 
GeneralReason for my vote of 5 Very Cool Trick Indeed !!! Pin
The-Mad-Pirate14-Jun-11 18:09
memberThe-Mad-Pirate14-Jun-11 18:09 
GeneralReason for my vote of 5 nice... Pin
ashishkumar00814-Jun-11 10:02
memberashishkumar00814-Jun-11 10:02 
Generalcool, thanks for sharing Pin
Shahriar Iqbal Chowdhury14-Jun-11 3:12
memberShahriar Iqbal Chowdhury14-Jun-11 3:12 
GeneralReason for my vote of 5 thanks! i saw this item plenty of ti... Pin
moragos13-Jun-11 20:50
membermoragos13-Jun-11 20:50 
GeneralReason for my vote of 5 Cool. Thanks. Pin
Darryl Bryk13-Jun-11 13:42
memberDarryl Bryk13-Jun-11 13:42 
GeneralGreat tip. Right-clicking a folder while holding SHIFT down ... Pin
Luc Pattyn7-Jun-11 14:58
mvpLuc Pattyn7-Jun-11 14:58 
GeneralReason for my vote of 5 very handy Pin
johannesnestler7-Jun-11 6:48
memberjohannesnestler7-Jun-11 6:48 

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
Web01 | 2.8.160208.1 | Last Updated 22 Jan 2013
Article Copyright 2011 by Yvan Rodrigues
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid