Hi guys, I need help with a script to do the following;
If "IP=Whatever I Pick"
Then
con2prt /cd \\servername\printer
Else
con2prt /cd \\servername\otherprinter
End
con2prt.exe resides in the system32 directory and is made by MS. Basically the script would do the following. If the IP is this, then map this printer and make it default..else, map this other printer and make it default.
I only know basic logic, but that is what I would like a batch file to do. Can someone help me out? Thanks!
If "IP=Whatever I Pick"
Then
con2prt /cd \\servername\printer
Else
con2prt /cd \\servername\otherprinter
End
con2prt.exe resides in the system32 directory and is made by MS. Basically the script would do the following. If the IP is this, then map this printer and make it default..else, map this other printer and make it default.
I only know basic logic, but that is what I would like a batch file to do. Can someone help me out? Thanks!