Close..

It really should be -

code:
If ReadValue("HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail","")=""
$RC=WriteValue("HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail","","Lotus Notes","REG_SZ")
EndIf

If you need more detail, please check the Docs for the DataTypes, etc.

HTH,

Kent

[ 07. May 2003, 19:59: Message edited by: kdyer ]
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's