Re: Connect network drive in DOS
- From: Zoltan K. <ZoltanK@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 9 Oct 2006 09:19:03 -0700
Steve:
That was it, thanks.
Zoltan
"Steve Winograd [MVP]" wrote:
In article <FEB6B7DD-4339-4300-90E9-9C41AA58673B@xxxxxxxxxxxxx>,.
Zoltan K. <ZoltanK@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
I'm running XP pro and I've forgotten the DOS command to map a local network
drive for use by batch file. Can sombody remind me what it is.
For details, open a command prompt window and type:
net use /?
An example is:
net use d: \\computer\share
Steve:
Your original answer answered my question but when I use the command it
doesn't work. I'm pasting a copy of my command screen below:
=====================================================
E:\Documents and Settings\dgit>net use
New connections will be remembered.
Status Local Remote Network
--------------------------------------------------------------------------
Unavailable B: \\SANSASKA-M\Buster (C) Microsoft Windows Network
OK P: \\SANSASKA-LAPTOP\C laptop Microsoft Windows Network
The command completed successfully.
E:\Documents and Settings\dgit>net use q: \\SANSASKA-LAPTOP\C laptop
System error 53 has occurred.
The network path was not found.
==================================================
As you can see the command "net use q: \\SANSASKA-LAPTOP\C laptop" failed
because the network path was not found yet it shows above for P:. Any ideas?
Thanks
Zoltan
You're welcome, Zoltan. Is the share name "C laptop"? If so, it has
to be enclosed in quotes since it contains a blank character:
net use q: "\\SANSASKA-LAPTOP\C laptop"
It's best to use only letters and numbers in a shared name.
--
Best Wishes,
Steve Winograd, MS-MVP (Windows Networking)
Please post any reply as a follow-up message in the news group
for everyone to see. I'm sorry, but I don't answer questions
addressed directly to me in E-mail or news groups.
Microsoft Most Valuable Professional Program
http://mvp.support.microsoft.com
- References:
- Re: Connect network drive in DOS
- From: Steve Winograd [MVP]
- Re: Connect network drive in DOS
- From: Steve Winograd [MVP]
- Re: Connect network drive in DOS
- Prev by Date: Re: unattended boot
- Next by Date: Re: Network Path Not found
- Previous by thread: Re: Connect network drive in DOS
- Next by thread: No share access only from specific PC
- Index(es):
Relevant Pages
|