Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista print fax & scan

Vista - NET USE DOS program

Reply
 
Old 05-25-2007   #1 (permalink)
Dave


 
 

NET USE DOS program

I've a Vista PC and an HP840c connected via USB (it has also a parallel port
but the PC has not)

As I need to print from a DOS program I've shared the printer and connected
the LPT1 port via NET USE.

A "DIR > LPT1" issued from the Command Prompt is correctly forwarded to the
USB printer (it's DOS compatible). So far so good.

The problem is that if I open a DOS application inside the very same Command
Prompt, it cannot access the LPT1 port, as if the NET USE command would have
been never placed.

The same applies if I NET USE LPT2: and change my DOS program accordingly: A
"DIR > LPTx" from the command prompt always works correctly while a real DOS
job doesn't work.

All this has always worked up to XP. I already tried all the "Run as
Administrator" combinations. Even disabling UAC doesn't cure the problem.

Any idea about why the NET USE redirection isn't available to the DOS
program as it's to the Command Prompt in Vista ?

Thanks,
Dave


My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
After a program is closed, Vista informs that the program has stoppedworking. Huh? Vista General
Uninstalled Program, but Program Name Remains in Program & Featur Vista General
Moving Program Files and Program Data Vista General
Spyware .exe program won't save or run into Program Files folder Vista General
are there program out there that is similar to shadow copy program ? Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46