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 6785295
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T17:06:34+00:00 2026-05-26T17:06:34+00:00

Good Morning All, I have a project which will be distributed as an Excel

  • 0

Good Morning All,

I have a project which will be distributed as an Excel add-in, it is written in C# and uses ExcelDNA.

What I would like to do is add a linklabel to my add-in main form, when clicked, I would like this to open windows explorer at a specific index, e.g. the G: drive.

Is this possible? I’ve seen some examples but haven’t been able to wrangle them,

Thanks in advance!

  • 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-05-26T17:06:35+00:00Added an answer on May 26, 2026 at 5:06 pm

    Absolutely:

    From the Microsoft KB:

       Option            Function
       ----------------------------------------------------------------------   
       /n                Opens a new single-pane window for the default
                         selection. This is usually the root of the drive that
                         Windows is installed on. If the window is already
                         open, a duplicate opens.
    
       /e                Opens Windows Explorer in its default view.
    
       /root,<object>    Opens a window view of the specified object.
    
       /select,<object>  Opens a window view with the specified folder, file,
                         or program selected.
    
       Examples
       -----------------------------------------------------------------------
       Example 1: Explorer /select,C:\TestDir\TestProg.exe
                  Opens a window view with TestProg selected.
    
       Example 2: Explorer /e,/root,C:\TestDir\TestProg.exe
                  Opens Explorer with drive C expanded and TestProg selected.
    
       Example 3: Explorer /root,\\TestSvr\TestShare
                  Opens a window view of the specified share.
    
       Example 4: Explorer /root,\\TestSvr\TestShare,select,TestProg.exe
                  Opens a window view of the specified share with TestProg selected.
    

    So you can call Explorer /select,G:\yourfile to open the explorer with that file/directory selected.

    Put that call in Process.Start() et voila 🙂

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

Sidebar

Related Questions

Good Morning All! I have been developing a project for some time in which
Good morning all, I'm sure this is a gimme, but I have no idea
Good morning, I am about to start writing an Excel add-in for Excel 2002.
Good morning. I have an XML file which contains lists of warning and errors
Good Morning All, I have loaded over 1,300 blurbs into my client's database with
Good Morning All, I have code similar to the following try{ using(var tx =
Good morning all. I have an issue with a query. I want to select
Good morning, I am currently working on a project in which I need to
Good morning all, i want to create an event in MySQL that will UPDATE
Good Morning All, I have an Objective C question that is coming from JavaScript.

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.