Computing.Net > Forums > Programming > net use lpt1 fails in batch file

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

net use lpt1 fails in batch file

Reply to Message Icon

Name: QuinnC
Date: July 8, 2008 at 10:18:51 Pacific
OS: Windows 2000
CPU/Ram: Intel/1GB
Product: white box
Comment:

net use lpt1 works fine from command line (run cmd), but in the batch file net use lpt1 /delete works, but net use lpt1 \\printserver\printer does not work from the batch file (neither lpt1 nor lpt1:). There were some older posts on this, but I could not find final solution. Thanks for any help.



Sponsored Link
Ads by Google

Response Number 1
Name: klint
Date: July 8, 2008 at 16:10:10 Pacific
Reply:

It works when I do it. What error message do you get?


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: net use lpt1 fails in batch file

Date Routines in Batch Files www.computing.net/answers/programming/date-routines-in-batch-files/15590.html

%DATE% in batch files with win98 www.computing.net/answers/programming/date-in-batch-files-with-win98/4007.html

Error level in batch file www.computing.net/answers/programming/error-level-in-batch-file/16461.html