[BATCH WORLD] Checking Registry entry
- Try using the Reg.exe app I think it's part of the Nt Resource kit.
Eg: reg query "HKLM\SOFTWARE\VB and VBA Program Settings\Marlborough
Stirling\Lamda\METADATA SERVER NAME"
Any views expressed in this message are those of the individual sender,
except where the sender specifically states them to be those of Sanlam, to
whom no liability shall attach whatsoever.
- Export the registry key and FIND the entry, for example:
:: + all cmdlines start here
:: Is Netscape Communicator 4.75 installed?
set App=Netscape Communicator 4.75
start /wait REGEDIT /e %TEMP%.\~tmp
FIND "DisplayName" < %TEMP%.\~tmp | FIND /v "QuietDisplayName" | FIND /i
if NOT errorlevel 1 echo %App% is installed
if errorlevel 1 echo %App% is not installed
Works in Windows 9x/NT/2K
__ _ _
|_ |_)(__ http://www.fpschultze.de
___| | ____)chultze_________________________________________________
I am logged in, therefore I am.
----- Original Message -----
Sent: Wednesday, February 14, 2001 2:32 PM
Subject: [BATCH WORLD] Checking Registry entry
> I want to be able to check a registry entry through a batch file.
> Does anyone have any idea as to how to do it. Please respond ASAP as
> this is very important.
> Thank You