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
Name: Arnold F Date: June 29, 2008 at 14:18:24 Pacific OS: vista CPU/Ram: 3 gb
Comment:
I have been trying net use lpt1: \\computer\printer to redirect my DOS app to my USB printer. I do not have a parallel port. Sometimes (sometimes not)I can print from the command line (e.g. DIR > LPT1:) of the DOS window but never from my app. net use lpt1: has always worked in XP etc.
I'm not running Vista and I well know the way you use to redirect a LPT port to USB.
So, please, how are you running your legacy application under Vista? As I assumed Vista doesn't allow any more 16 bit applications but inside a Virtual Machine. In Xp on the contrary they are handled by the command prompt via NTVDM integrated emulator.
Your info may help to look more accurately at your issue.
0
Response Number 4
Name: Arnold F Date: July 2, 2008 at 18:27:20 Pacific
Reply:
I am not doing anything special. I am running 32 bit Vista and my app (written in MS Quickbasic) runs perfectly in a Vista DOS Window except for the redirecting LPT1 problem.
Arnold F
0
Response Number 5
Name: G-Norman Date: August 27, 2008 at 17:56:06 Pacific
Reply:
Arnold, that's a known problem for DOS programs running on Vista (and yes, Vista 32, unlike 64, still allows running DOS programs) You may want to have a look at Printfil to capture and redirect your DOS print jobs in Vista. More info and a free trial version is available at http://www.printfil.com
Summary: Maybe a batch file. Here is the basics of a way to start. Use the Net Use command to map or disconnect a drive You can use the net use command for batch files and scripts. To use the net use command t...
Summary: INTRO: One of the main features of Windows Vista is the new user accounts security enhancements, but sometimes, defaults don't meet everyone's taste when it comes to how we deal with our PCs. I for on...