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
Windows BatchMicrosoft DOS

Avatar of undefined
Last Comment
Steve Knight

8/22/2022 - Mon