net use



CSCPCS
07-09-2005, 10:29 PM
I need to go in to net use from the command prompt, but I keep getting sytem
error 66 and the message "the network resource type is not correct". I have
put the command in the following format: net use lpt1
\\computername\devicename
I have also tried : net use lpt1: \\computername\devicename
and : net use lpt1: \\computername\devicename /persistent:y
What am I missing? What does the error mean?

--
BE SPECIFIC PLEASE

GTS
07-09-2005, 10:29 PM
Drop the : (colon) in the port name.
--

"CSCPCS" <CSCPCS@discussions.microsoft.com> wrote in message
news:E73DA73C-5CCA-4A1B-A12F-77C14BDDAC17@microsoft.com...
>I need to go in to net use from the command prompt, but I keep getting
>sytem
> error 66 and the message "the network resource type is not correct". I
> have
> put the command in the following format: net use lpt1
> \\computername\devicename
> I have also tried : net use lpt1: \\computername\devicename
> and : net use lpt1: \\computername\devicename /persistent:y
> What am I missing? What does the error mean?
>
> --
> BE SPECIFIC PLEASE


net use