logon script for standalone XP
Daryl
07-10-2005, 01:01 AM
Dear All,
I am using Windows XP professional and not connect to Domain. I would like
to run a command line "net use ....." everytime I turn on the PC to connect
to hardware network printer. Can anyone tell me how to set it on XP. Thanks.
Regards,
Daryl
Johnny Lingo
07-10-2005, 01:01 AM
"Daryl" <darylchoy@hotmail.com> wrote in message
news:OAbObWjaFHA.208@TK2MSFTNGP10.phx.gbl...
> Dear All,
>
> I am using Windows XP professional and not connect to Domain. I would like
> to run a command line "net use ....." everytime I turn on the PC to
> connect
> to hardware network printer. Can anyone tell me how to set it on XP.
> Thanks.
>
If your printer is networked (IP based), why not just connect to it via a
TCP/IP connection? Instead of using a LPT or USB port, use a TCP/IP port.
Daryl
07-10-2005, 01:01 AM
I can't use TCP/IP port, because one of my program is DOS base program, so I
need to map the network drive using "net use LPT1 \\.....", so please
advise... Thanks.
"Johnny Lingo" <johnnylingo@spammenot.com> ¦b¶l¥ó
news:mGOoe.26886$nG6.23450@attbi_s22 ¤¤¼¶¼g...
>
> "Daryl" <darylchoy@hotmail.com> wrote in message
> news:OAbObWjaFHA.208@TK2MSFTNGP10.phx.gbl...
> > Dear All,
> >
> > I am using Windows XP professional and not connect to Domain. I would
like
> > to run a command line "net use ....." everytime I turn on the PC to
> > connect
> > to hardware network printer. Can anyone tell me how to set it on XP.
> > Thanks.
> >
>
>
> If your printer is networked (IP based), why not just connect to it via a
> TCP/IP connection? Instead of using a LPT or USB port, use a TCP/IP port.
>
>
>
Pegasus \(MVP\)
07-10-2005, 01:01 AM
"Daryl" <darylchoy@hotmail.com> wrote in message
news:OAbObWjaFHA.208@TK2MSFTNGP10.phx.gbl...
> Dear All,
>
> I am using Windows XP professional and not connect to Domain. I would like
> to run a command line "net use ....." everytime I turn on the PC to
connect
> to hardware network printer. Can anyone tell me how to set it on XP.
Thanks.
>
>
> Regards,
>
> Daryl
>
Place the following lines into c:\Documents and Settings\All Users\Start
Menu\Programs\Startup\Netlogon.bat:
@echo off
net use LPT2: \\SomePC\SomeSharedPrinter
logon script for standalone XP