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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Batch File 1

Status
Not open for further replies.

salc76

Technical User
Feb 21, 2007
21
CA
I need to create a batch file that allows a user to default to a specific printer when they need to.
 
Put this in a batch file. Of course set "PRINTERNAME" to the correct name of the printer (include the quotes)

cscript C:\Windows\system32\prnmngr.vbs -t -p "PRINTERNAME"

If you have any trouble type this in a command prompt:

cscript C:\Windows\system32\prnmngr.vbs /?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top