Re: Map A drive when it is not connected
- From: "Shenan Stanley" <newshelper@xxxxxxxxx>
- Date: Fri, 29 Dec 2006 13:24:41 -0600
Ben wrote:
We are currently in the situtation where we need to map a drive for
a remote user using a script when the drive is unavailable. Both
of the below scripts error when this is done:
Batch:
Net USE S: \\servername\folder
VB Script:
Set objNet = CreateObject("Wscript.Network")
objNet.MapNetworkDrive "S:", "\\servername\folder"
Is there any method of mapping the drive so that it is ready when
it is connected.
Other than persistently (successfully) mapping it once - no.
--
Shenan Stanley
MS-MVP
--
How To Ask Questions The Smart Way
http://www.catb.org/~esr/faqs/smart-questions.html
.
- References:
- Map A drive when it is not connected
- From: Ben
- Map A drive when it is not connected
- Prev by Date: Re: NIC Power Management features Issues
- Next by Date: Re: Memory output format
- Previous by thread: Map A drive when it is not connected
- Index(es):