Check Access Version w/ Batch File (1 Viewer)

Status
Not open for further replies.
Local time
Yesterday, 17:29
Joined
Feb 25, 2008
Messages
410
The Access version is stored in the VERSION variable. What you want to do with that value afterwards is up to you...

Code:
@ECHO OFF
  REM Check "HKEY_CLASSES_ROOT\.mdb\(Default Value)" for the version of Access installed;
  REM "Access.Application.8" for Access 97
  REM "Access.Application.9" for Access 2000
  REM "Access.Application.10" for Access XP

  REM ***** THE VARIABLES *****

FOR /F "tokens=2* delims=	 " %%A IN ('REG QUERY HKEY_CLASSES_ROOT\.mdb /ve ') DO SET VERSION=%%B
ECHO %VERSION%
PAUSE
 
Status
Not open for further replies.

Users who are viewing this thread

Top Bottom