Link to home
Create AccountLog in
Avatar of Bonnie_K
Bonnie_K

asked on

Need to use batch file to check if lpt2 is already mapped

Hi,

I want to edit our login script to add a printer mapping for lpt2.

After it is done, I do not want it to remap every time the user logs in.

Is there a way to check if the port is mapped and skip the mapping?

THanks,
Bonnie
ASKER CERTIFIED SOLUTION
Avatar of Steve Knight
Steve Knight
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of Bonnie_K
Bonnie_K

ASKER

Thanks!
no prob
Steve