Use a variable to catch the return value from DelValue().

$rc = DelValue("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run","RealTray")

[ 04 April 2002, 18:24: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/