I'm trying to create a batch file command that runs from the login script.
We have numerous sites and numerous subnets to go with it. What I want to do is use a goto based on the second segment of the IP, for example:
If the IP address = 10.150.100.10, I need to identify the 150 segment of the address and use that to head to a goto instruction, else end.
It's a command that I only want to run if a user is on a specific site, hence the reason for the split.