Let's look at how this works..

First line..
IF READVALUE("HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail","")<>""

We are testing the "@" or Default Value for what value exists. If it does not meet the "" or blank condition continue on.

$RC=WRITEVALUE("HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail","","Lotus Notes","REG_SZ")

Set this value to be blank...

ENDIF

Quit the conditional test.

HTH,

Kent

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