net use help

F

filip

sorry if i'm in the wrong group,
On some computers i'm using the net use command, redirecting my LPT1 to a
network printer, what happens is that on some computers, sometimes, the
network printer gets unavailable (so the net use says), but it is available,
while on a nother computer (the same net use) works fine.When i run the net
use command again it says its available and works fine
Any idea why this happens?
Allso is there a way to put the net use command into a bat file so it runs
on startup?
 
P

Pegasus \(MVP\)

filip said:
sorry if i'm in the wrong group,
On some computers i'm using the net use command, redirecting my LPT1 to a
network printer, what happens is that on some computers, sometimes, the
network printer gets unavailable (so the net use says), but it is available,
while on a nother computer (the same net use) works fine.When i run the net
use command again it says its available and works fine
Any idea why this happens?
Allso is there a way to put the net use command into a bat file so it runs
on startup?

Create a file "netlogon.bat" with the lines below, then save it
in the Startup subfolder of the All Users profile folder.

@echo off
net use LP1: \\SomePC\SomePrinter
pause

You then need to run this batch file until it fails. When it
does, post your version of the batch file plus the verbatim
error message you see on the screen.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top