Click here to Skip to main content
Click here to Skip to main content

Open a command prompt anywhere.

By , 22 Jan 2013
 

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)

About the Author

Yvan Rodrigues
President Red Cell Innovation Inc.
Canada Canada
Yvan Rodrigues has 23 years of experience in information systems and software development for the manufacturing sector. He runs Red Cell Innovation Inc./L'innovation de Globules Rouges, a consulting company focusing on efficiency and automation of manufacturing and business processes for small businesses, healthcare, and the public sector.
 
Yvan draws on experience at 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), and contributes to MySQL, Ghostscript, iTextSharp, Bacula, FreeBSD, MonoTouch, and Mono for Android.
Follow on   Twitter

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
Hint: For improved responsiveness ensure Javascript is enabled and choose 'Normal' from the Layout dropdown and hit 'Update'.
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page   
GeneralMy vote of 5memberPlamen19676-Mar-13 0:54 
QuestionCmdmemberAmin_91322-Feb-13 3:01 
AnswerRe: CmdsubeditorYvan Rodrigues22-Feb-13 3:08 
GeneralMy vote of 5memberMehuge28-Jan-13 22:57 
GeneralMy vote of 5memberZuoliu Ding28-Jan-13 13:24 
GeneralMy vote of 3memberElrond28-Jan-13 6:47 
GeneralRe: My vote of 3subeditorYvan Rodrigues28-Jan-13 7:05 
GeneralRe: My vote of 3memberElrond28-Jan-13 7:15 
GeneralRe: My vote of 3memberMehuge28-Jan-13 22:59 
GeneralRe: My vote of 3memberElrond28-Jan-13 23:04 
GeneralRe: My vote of 3memberMehuge28-Jan-13 23:39 
GeneralMy vote of 5memberRaviGupta798627-Jan-13 22:48 
GeneralMy vote of 5memberRdickeyTech23-Jan-13 8:14 
GeneralMy vote of 1memberii_noname_ii23-Jan-13 1:24 
QuestionWowmemberJonasAndersson22-Jan-13 11:46 
GeneralMy vote of 5memberHeaven20207-Nov-12 3:45 
GeneralMy vote of 5memberHeaven20207-Nov-12 3:42 
GeneralGood tip.memberSoMad16-Jun-12 10:56 
QuestionDo you associated code with the page ?membersanlingdd23-Apr-12 2:21 
GeneralMy vote of 5memberAminRahimi17-Apr-12 2:59 
GeneralMy vote of 5memberReza Ahmadi9-Apr-12 4:56 
GeneralReason for my vote of 5 Believe me, you are not the last one...memberRaisKazi28-Dec-11 20:04 
GeneralI've used this for a while, but for some reason on my home c...memberlewax009-Nov-11 11:38 
GeneralReason for my vote of 5 Good one! I didn't know that.subeditorWalt Fair, Jr.31-Aug-11 8:23 
GeneralReason for my vote of 5 Excellent tip, thanks for sharing!memberDrABELL24-Jun-11 8:58 
GeneralCool, Great tip My 5!memberVivek Krishnamurthy23-Jun-11 23:39 
GeneralReason for my vote of 5 Reason for my vote of 5 Nice TipsmvpRaviRanjankr22-Jun-11 1:13 
GeneralIt does works in Windows XP SP3 also.memberoorja21-Jun-11 1:13 
GeneralReason for my vote of 5 Very helpfulmemberefbe20-Jun-11 17:26 
Generalits there in old XP as wellmemberMember 435326914-Jun-11 20:44 
GeneralRe: Really?memberYvan Rodrigues15-Jun-11 2:31 
GeneralReason for my vote of 5 Very Cool Trick Indeed !!!memberThe-Mad-Pirate14-Jun-11 17:09 
GeneralReason for my vote of 5 nice...memberashishkumar00814-Jun-11 9:02 
Generalcool, thanks for sharingmemberShahriar Iqbal Chowdhury14-Jun-11 2:12 
GeneralReason for my vote of 5 thanks! i saw this item plenty of ti...membermoragos13-Jun-11 19:50 
GeneralReason for my vote of 5 Cool. Thanks.memberDarryl Bryk13-Jun-11 12:42 
GeneralGreat tip. Right-clicking a folder while holding SHIFT down ...mvpLuc Pattyn7-Jun-11 13:58 
GeneralReason for my vote of 5 very handymemberjohannesnestler7-Jun-11 5:48 

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

Permalink | Advertise | Privacy | Mobile
Web02 | 2.6.130617.1 | Last Updated 22 Jan 2013
Article Copyright 2011 by Yvan Rodrigues
Everything else Copyright © CodeProject, 1999-2013
Terms of Use
Layout: fixed | fluid