NET USE in VISTA to a Shared Printer on XP giving ACCESS DENIED
Posted on 2007-03-18
I am trying to use a DOS Application on VISTA - I know I know but I need to run this application on VISTA.
The application runs fine except I use a NET USE command to capture output to LPT1: and redirect it to a Shared Printer on the Network. When I start my application I run a batch file which contains the NET USE commands to connect to Shared Network Resources that I want to use. The NET USE command that assigns a Drive Letter to the Shared Data Files works fine but the NET USE command that attempts to capture LPT1: to a Shared Printer returns ACCESS DENIED. This would indicate that there is a permission problem with the Shared Printer. However, when I then go to a Command Prompt and entre the same NET USE command it connects without a problem.