Please read the TCP/IP primer in the FAQ Forum and use the IsStringInFile() UDF instead. Use the @WKSTA instead of a registry read.
_________________________
There are two types of vessels, submarines and targets.