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

  • Home
  • SEARCH
  • 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 8074795
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T14:46:21+00:00 2026-06-05T14:46:21+00:00

I have a commandline invocation of MS Access like so: %Programfiles%\Office11\msaccess.exe How can I

  • 0

I have a commandline invocation of MS Access like so:

%Programfiles%\Office11\msaccess.exe

How can I eliminate the “Office11” part so that the resulting invocation executes whatever version of MS Access that is installed? I have to run this on commandline so the option of using Start > Run dialog is not applicable.

  • 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-05T14:46:23+00:00Added an answer on June 5, 2026 at 2:46 pm

    You can read the registry to find the folder where MSACCESS.EXE is located. Here is a VBScript example.

    Option Explicit
    Dim MSAccPath
    Dim RegKey
    Dim WSHShell
    RegKey = "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\" _
        & "CurrentVersion\App Paths\MSACCESS.EXE\Path"
    Set WSHShell = WScript.CreateObject("WScript.Shell")
    MSAccPath = WSHShell.RegRead(RegKey)
    WScript.Echo "MS Access Path: " & MSAccPath & "MSACCESS.EXE"
    Set WSHShell = Nothing
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have code like: begin RunProgram:=TProcess.Create(nil); RunProgram.Commandline:='calc.exe'; RunProgram.Execute; RunProgram.Commandline:='notepad.exe'; RunProgram.Execute; RunProgram.Free; end. and I
I have a requirement that I need to run the tests through commandline as
So I have a process (java commandline application) that is hidden with the output
I have to upload an entire folder commandline on Windows. I can't get it
I have some Python code that works correctly when I use python.exe to run
I would like to have a site.php file (similar to Python) that is automatically
I have a custom django filefield that makes use of sox, a commandline audiotool.
I have a plugin that uses the Plexus Commandline to invoke some external process
I have a commandline application coded in delphi that I need to call from
I'm confused with file moving under python. Under windows commandline, if i have directory

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.