Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8560269
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T16:14:19+00:00 2026-06-11T16:14:19+00:00

In versions of Visual Studio before 2012, I was able to create a hotkey

  • 0

In versions of Visual Studio before 2012, I was able to create a hotkey to perform “Open Containing Folder” for the current active text file. I accomplished this by creating a macro that had a keystroke assigned to it.

Visual Studio 2012 does not have macros. How would I accomplish the above in this version?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T16:14:20+00:00Added an answer on June 11, 2026 at 4:14 pm

    Unfortunately you’ll now need to download the VSSDK and create a VSPackage to do that, now that macros have been dropped from the IDE.

    The closest thing to a macro now is a PowerShell script, which you could run from the console but I’m not aware of any way to assign a keyboard shortcut to it.

    Running PS outside of the IDE is an option (via an External Tool command with a keyboard shortcut configured), but obtaining the EnvDTE outside of process could be complicated.

    EDIT: There is a much simpler solution. I can’t believe I didn’t realise it to begin with!

    Simply go into Tools… Options… Environment… Keyboard locate File.OpenContainingFolder and assign a shortcut. This command will open the active document’s containing folder.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When you open a solution in Visual Studio 2008 (or ealier versions for that
In previous versions of Visual Studio I remember I saw the error code/number in
i remember that previous versions of visual studio contained a converter, that automatically attempt
I'm a longtime Visual Studio(from versions 6 to 2008) user that really like the
Are "Visual Studio Setup" projects suitable for complex setups in different versions? The application
My Visual Studio 2010 installation (version 10.0.30319.1 RTMRel) is crashing when I open a C# project.
(I'm using Visual Studio 2008, though I remember having similar problems with older versions
which versions of the .net framework are installed when you install visual studio 2010.
The implementation of std::vector that ships with Visual Studio 2010 and earlier versions has
I'm using the Application Updates option in Visual Studio with 'Before the Application Starts'

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.