Just glancing though your previous posts. Seems like there are quite a few HTML codes in your scripts. You might be better off by replacing those files with the code in the UDF forum...

Ping() - checks for reply , or returns ip-address of remote host

NetView2() - Enumerate all computers in your domain

OSID() - Identifies operating system, service pack level, and OS kernel

COMNetView() - Enumerate all computers in your domain