Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

AddPort command in 2000 scripting...

Status
Not open for further replies.

rstubbington

Technical User
May 14, 2001
13
GB
Hi,

I need to replicate the Add New Port command in the Printer wizard in win 2000, so I can add a new port on the client machine pointing to \\printserver\printhostname, via a script on a remote machine.

CAN THIS BE DONE ?? (I'm trying to do this so I dont have to take control of a users machine and sign in as administrator in order to add them a local printer).

I've written a command line script that will add the printer itself on the remote machine, but only if the port being printed to already exists.

Cheers anyone that can help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top