Link to home
Start Free TrialLog in
Avatar of wgavin
wgavin

asked on

Create a Batch File

I would like to create a Batch File that when run would connect all the network printers in the office.  We do not use roaming profiles so when a user logs into a different machine they have to install the printers again.  Any help would be greatly appreciated.
Avatar of sirbounty
sirbounty
Flag of United States of America image

How many printers?

You should be able to get by with something like this (if 3 or less):

---mapPrn.bat----
@echo off
net use LPT1: \\server\printer1
net use LPT2: \\server\printer2
net use LPT3: \\server\printer3
-----------------
Avatar of wgavin
wgavin

ASKER

We currently have 16 networked printers and copiers.  Does this make a big difference?
ASKER CERTIFIED SOLUTION
Avatar of sirbounty
sirbounty
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of wgavin

ASKER

I agree but this is what they want.  Thanks very much for your help.
Here's the other thing - as far as 'local ports' that you can use for these printers, you're essentially limited to
LPT1, 2 & 3 & COM1, 2, 3 & 4...and that's if these aren't in use...but, that's only 7 available local ports.

How are these printers attached to the network?  Do they have their own network interface, or are the connected to individual machines?  Are the maintained via a single printer server?  If so, you can probably add additional TCP/IP ports to the each of the workstations to accomodate that number of printers....
Thanx - you've got a long journey ahead of you...
Good luck!

Some other reference for adding TCP ports...http://www.microsoft.com/windows2000/en/server/help/sag_setup_direct_printer.htm