[names]
@userid=goldmineid



$id = readprofilestring('Filename','names',@userid)
if not @error or not $id =""
$nul= WriteValue("HKCU\Software\GoldMine\GoldMine Link for Microsoft Outlook","GMUserName",$id,REG_SZ)
else
? "error finding name"
endif
_________________________
How to ask questions the smart way <-----------> Before you ask