Click here to Skip to main content
12,450,581 members (49,569 online)
Click here to Skip to main content
Add your own
alternative version

Stats

15.7K views
2 bookmarked
Posted

Shortcut: Open Containing Folder

, 20 Nov 2010 CPOL
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. Thumbs Up | :thumbsup:

License

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

Share

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

Pro
Pro

Comments and Discussions

 
GeneralReason for my vote of 5 Fine Pin
Ashish Tyagi 4011-Jan-11 19:53
memberAshish Tyagi 4011-Jan-11 19:53 
GeneralMy Vote 5 Good Work! Pin
Abdul Quader Mamun17-Dec-10 5:39
memberAbdul Quader Mamun17-Dec-10 5:39 
GeneralReason for my vote of 5 Thanks Pin
kobymeir22-Nov-10 7:50
memberkobymeir22-Nov-10 7:50 
GeneralReason for my vote of 5 Useful!!! Pin
GPUToaster21-Nov-10 19:42
memberGPUToaster21-Nov-10 19: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.

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