I'm completely new with scripting and i could use some help. Following script gets IP addresses from lan adapters but what command removes the 0 answers?

?"IP"@IPADDRESS0
?"IP,"@IPADDRESS1
?"IP,"@IPADDRESS2
?"IP,"@IPADDRESS3
?"IP,"@IPADDRESS4
?"IP,"@IPADDRESS5
?"IP,"@IPADDRESS6
?"IP,"@IPADDRESS7
?"IP,"@IPADDRESS8
?"IP,"@IPADDRESS9

I tryed something like this if @IPADDRESS <> "" but it doesn't help. Couldn't find any help using search on this board or google.


Edited by Omit (2006-04-03 01:39 PM)