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
Member
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.

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

 
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page   
GeneralMy vote of 5 PinmemberPlamen19676 Mar '13 - 0:54 
QuestionCmd PinmemberAmin_91322 Feb '13 - 3:01 
AnswerRe: Cmd PinsubeditorYvan Rodrigues22 Feb '13 - 3:08 
GeneralMy vote of 5 PinmemberMehuge28 Jan '13 - 22:57 
GeneralMy vote of 5 PinmemberZuoliu Ding28 Jan '13 - 13:24 
GeneralMy vote of 3 PinmemberElrond28 Jan '13 - 6:47 
GeneralRe: My vote of 3 PinsubeditorYvan Rodrigues28 Jan '13 - 7:05 
GeneralRe: My vote of 3 PinmemberElrond28 Jan '13 - 7:15 
GeneralRe: My vote of 3 PinmemberMehuge28 Jan '13 - 22:59 
GeneralRe: My vote of 3 PinmemberElrond28 Jan '13 - 23:04 
GeneralRe: My vote of 3 PinmemberMehuge28 Jan '13 - 23:39 
GeneralMy vote of 5 PinmemberRaviGupta798627 Jan '13 - 22:48 
GeneralMy vote of 5 PinmemberRdickeyTech23 Jan '13 - 8:14 
GeneralMy vote of 1 Pinmemberii_noname_ii23 Jan '13 - 1:24 
QuestionWow PinmemberJonasAndersson22 Jan '13 - 11:46 
GeneralMy vote of 5 PinmemberHeaven20207 Nov '12 - 3:45 
GeneralMy vote of 5 PinmemberHeaven20207 Nov '12 - 3:42 
GeneralGood tip. PinmemberSoMad16 Jun '12 - 10:56 
QuestionDo you associated code with the page ? Pinmembersanlingdd23 Apr '12 - 2:21 
GeneralMy vote of 5 PinmemberAminRahimi17 Apr '12 - 2:59 
GeneralMy vote of 5 PinmemberReza Ahmadi9 Apr '12 - 4:56 
GeneralReason for my vote of 5 Believe me, you are not the last one... PinmemberRaisKazi28 Dec '11 - 20:04 
GeneralI've used this for a while, but for some reason on my home c... Pinmemberlewax009 Nov '11 - 11:38 
GeneralReason for my vote of 5 Good one! I didn't know that. PinsubeditorWalt Fair, Jr.31 Aug '11 - 8:23 
GeneralReason for my vote of 5 Excellent tip, thanks for sharing! PinmemberDrABELL24 Jun '11 - 8:58 
GeneralCool, Great tip My 5! PinmemberVivek Krishnamurthy23 Jun '11 - 23:39 
GeneralReason for my vote of 5 Reason for my vote of 5 Nice Tips PinmvpRaviRanjankr22 Jun '11 - 1:13 
GeneralIt does works in Windows XP SP3 also. Pinmemberoorja21 Jun '11 - 1:13 
GeneralReason for my vote of 5 Very helpful Pinmemberefbe20 Jun '11 - 17:26 
Generalits there in old XP as well PinmemberMember 435326914 Jun '11 - 20:44 
GeneralRe: Really? PinmemberYvan Rodrigues15 Jun '11 - 2:31 
GeneralReason for my vote of 5 Very Cool Trick Indeed !!! PinmemberThe-Mad-Pirate14 Jun '11 - 17:09 
GeneralReason for my vote of 5 nice... Pinmemberashishkumar00814 Jun '11 - 9:02 
Generalcool, thanks for sharing PinmemberShahriar Iqbal Chowdhury14 Jun '11 - 2:12 
GeneralReason for my vote of 5 thanks! i saw this item plenty of ti... Pinmembermoragos13 Jun '11 - 19:50 
GeneralReason for my vote of 5 Cool. Thanks. PinmemberDarryl Bryk13 Jun '11 - 12:42 
GeneralGreat tip. Right-clicking a folder while holding SHIFT down ... PinmvpLuc Pattyn7 Jun '11 - 13:58 
GeneralReason for my vote of 5 very handy Pinmemberjohannesnestler7 Jun '11 - 5:48 

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

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

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