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
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.
Summary: Hi These subroutines may be useful for calculating date issues in Batch File coding. The sub-rountines use variables a-f so best to not to use them in your calling code. Main varables returned are... ...
Summary: I'm looking for help with the DATE function in batch files and saw your postings on http://www.computing.net/programming/wwwboard/forum/2249.html %DATE% worked well on my winXP box for naming backup f...
Summary: Hi Razor, Thanks for your help, and I have tried with your suggestion. In your suggestion it will always go to ERROR_SP2Install no matter what the errorlevel is, but my intension is going to ERROR_SP2...