Click here to Skip to main content
13,409,270 members (42,361 online)
Click here to Skip to main content
Add your own
alternative version


2 bookmarked
Posted 20 Nov 2010

Shortcut: Open Containing Folder

, 20 Nov 2010
Rate this:
Please Sign up or sign in to vote.
Open the Folder of current file with a simple keystroke
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. :thumbsup:


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!

You may also be interested in...

Comments and Discussions

GeneralReason for my vote of 5 Fine Pin
Ashish Tyagi 4011-Jan-11 20:53
memberAshish Tyagi 4011-Jan-11 20:53 
GeneralMy Vote 5 Good Work! Pin
Abdul Quader Mamun17-Dec-10 6:39
memberAbdul Quader Mamun17-Dec-10 6:39 
GeneralReason for my vote of 5 Thanks Pin
kobymeir22-Nov-10 8:50
memberkobymeir22-Nov-10 8:50 
GeneralReason for my vote of 5 Useful!!! Pin
GPUToaster21-Nov-10 20:42
memberGPUToaster21-Nov-10 20:42 

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.

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