Question
Thread display: Collapse - |
All Answers
Start or search
Create a new discussion
If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.
VB Script to test ip range and install a printer
I need a bit of help.
We are currently running a server with 3 sites connected to it (3 different ip ranges). The users log on to computers in any of the 3 sites. Each site has its own printer.
Now my problem is this:
When a user logs on i need a batch file or vbs (log on script file) to check the ip range that the user is currently logging into and then to install a printer according to the IP range.
I know i need a to use IF and OR statements to install the printer once i have the ip range to test it against but how do i test/ check the ip range?