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

Shortcut: Open Containing Folder

By , 20 Nov 2010
Rate this:
Please Sign up or sign in to vote.
Many times we need to open (or at least know) the folder where the currently open file exist. For this we just right click on the tab and click 'Open Containing Folder'. For me, it was tedious to do this, and therefore I found a trick: Assign a shortcut to it.
 
To assign a shortcut:
  • Click Tools -> Customize...
  • In the dialog box shown, click Keyboard...
  • In new dialog box, under Show commands containing, type File.OpenContainingFolder
  • Now, under Press shortcut keys editbox, press the keystroke of your choice. I chose Ctrl + ` (key above Tab, below Escape)
    • Now hit Assign. Then OK, then Close.
And you are done! Just press the assigned shortcut key, and Windows Explorer would open where the currently opened file exists! The file will have selection in Windows Explorer. Thumbs Up | :thumbsup:

License

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

About the Author

Ajay Vijayvargiya
Software Developer (Senior)
India India
Started programming with GwBasic back in 1996 (Those lovely days!). Found the hidden talent!
 
Touched COBOL and Quick Basic for a while.
 
Finally learned C and C++ entirely on my own, and fell in love with C++, still in love! Began with Turbo C 2.0/3.0, then to VC6 for 4 years! Finally on VC2008/2010.
 
I enjoy programming, mostly the system programming, but the UI is always on top of MFC! Quite experienced on other environments and platforms, but I prefer Visual C++. Zeal to learn, and to share!

Comments and Discussions

 
GeneralReason for my vote of 5 Fine PinmemberAshish Tyagi 4011-Jan-11 19:53 
GeneralMy Vote 5 Good Work! PinmemberAbdul Quader Mamun17-Dec-10 5:39 
GeneralReason for my vote of 5 Thanks Pinmemberkobymeir22-Nov-10 7:50 
GeneralReason for my vote of 5 Useful!!! PinmemberGPUToaster21-Nov-10 19:42 

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.

| Advertise | Privacy | Mobile
Web03 | 2.8.140415.2 | Last Updated 21 Nov 2010
Article Copyright 2010 by Ajay Vijayvargiya
Everything else Copyright © CodeProject, 1999-2014
Terms of Use
Layout: fixed | fluid