I am using the following VBScript to get the computer's IP address and spit it out to a text file:
Set objShell = CreateObject("Wscript.Shell")
objShell.Run("%comspec% /c ipconfig >> c:\youripconfig.txt")
I now want another VBScript to search the text file for this line:
IP Address. . . . . . . . . . . . : 172.29.212.153
and convert the 3rd octet (the 212) to an int value that I can perform IF <> functions on.