Norton Antivirus can slow down a script by a factor of 10. See post http://kixtart.org/cgi-bin/ultimatebb.cgi?ubb=get_topic&f=1&t=002912

Also, this line WriteValue("HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}","","My Computer %computername%","REG_SZ") causes the display of a '0' in your command windows since this is the return code. Proper coding would assing a variable to the returncode like: $retcode=writevalue(...)

[ 21 February 2002: Message edited by: sealeopard ]

_________________________
There are two types of vessels, submarines and targets.