Hi All,
On a seperate note how would I do the following?
I would like to pass the result of EnumIPInfo($NIC,3) into a variable.

This is what I have at the moment

Dim $defaultgw
$defaultgw = EnumIPInfo($NIC,3)

If $defaultgw == '192.168.1.1'
"Your Default Gateway is:" + EnumIPInfo($NIC,3)
call "another kix script"
else
endif
If $defaultgw == '192.168.2.1'
else
endif

Have I got the part correct about passing the result of EnumIPInfo($NIC,3) into the variable?

Thanks


Edited by rhunton (2007-12-09 09:05 PM)