I need to run different reg keys dependent upon the office a user is in.

They are all in the format 10.175.x.x, 10.131.x.x etc...

How can I do this?

The other thing - I'm learning, so just want to do this as a test.. How can I write a script that, if for instance the users IP address is 10.191.x.x it will display a message on the screen to say "You have logged on at the Manchester office" or if it is 10.131.x.x "You have logged on at the Liverpool office"

It's years since I used Kix32, and I've forgotten it all!

Thanks!