I have figured out what I need to evaluate in order for my IF statement to work. I need my script to determine if the key looks like this:

Regkey;
[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Lotus Notes]
@=""

or this:

Regkey;
[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Lotus Notes]
@="Lotus Notes"

to run

code
-----------------------------------------------------------
shell "regedit.exe /s regislotus.reg"; which worked like a charm, thanks Kdyer
------------------------------------------------------
thanks again all

[ 07. May 2003, 18:59: Message edited by: jacks73 ]