You can read the registry to find the folder where MSACCESS.EXE is located. Here is an example of VBScript.
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
source share