Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
;Get network address using ip address and subnet mask ;Created by EvanJHoush IPAddress = "???.???.???" IPSubnet = "???.???.???" aIP = Arrayize(IPAddress,".") aSNM = Arrayize(IPSubnet,".") NetworkAddress = '' ;Simple ANDing will give us the NETWORK ID For i = 0 to 3 NetworkAddress = ItemInsert((aIP[i] & aSNM[i]),-1,NetworkAddress,".") Next Message(Network address",networkaddress) exit
Article ID: W15977
File Created: 2004:03:30:15:42:06
Last Updated: 2004:03:30:15:42:06