capture lpt1 batch file

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

alexenjen

Thread Starter
Joined
Aug 3, 2000
Messages
526
I need help writting .bat file to do the following:

net use lpt1: \\server-name\printer-name
 
Joined
Jul 29, 2001
Messages
21,334
You have the syntax correct. Is there a reason why you want to capture this printer port in this manner?
 

alexenjen

Thread Starter
Joined
Aug 3, 2000
Messages
526
need to use DOS based programs on Win2k OS. If I manually capture lpt1 on win2k, it does not keep it when you reboot. Or is there a better way?
 
Joined
Jul 29, 2001
Messages
21,334
Use the switch /persistent at the end of the line and it should stay.
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Members online

Top