yea you can do this no problem.

you will need these UDF's

Subnet() - will tell if a given ip# is in a specified subnet.

BInaryIP()

to use these udf's just place then anywhere in your script. or put them in a seperate file and use the call command to load them.

call "udfs.kix"


your code will be something like this.

code:

;for all computers in the 10.2.0.0 255.255.0.0 subnet
if subnet(@ipaddress0,"10.2.0.0","255.255.0.0") = 1
? "this computer is in the 10.2.0.0 255.255.0.0 subnet"
endif

if your have anyquestion, just ask.

Bryce