"Cary Shultz [A.D. MVP]" <
[email protected]> wrote in message
JonnieStyle,
I might suggest that you take a look at either .bat/.cmd logon scripts or
that you take a look at using .vbs scripts and Group Policy Objects. Does
this help you?
But, to answer your question directly: yes, it is very possible and
extremely common to use multiple drive letters mapped to multiple shares.
Shoot, if you really wanted to you could use different drive letters mapped
to the same shared resource. There would obviously be little use for that
but it is possible. As indicated by the last example, the key is use the
same drive letter once and only once.
Here are some examples of the various methods possible:
logon.bat ( if you have a WIN9x / WINNT / WIN2000 / WIN XP client mix )
@echo off
net use O: /delete
net use O: \\server01\shareA
net use P: /delete
net use P: \\server01\shareB
net use Q: /delete
net use Q: \\server02\shareC
logon.cmd ( if you have WIN2000 and WIN XP clients )
@echo off
net use O: /delete
net use O: \\server01\shareA
net use P: /delete
net use P: \\server01\shareB
net use Q: /delete
net use Q: \\server02\shareC
logon.vbs ( if you have WIN2000 and WIN XP clients and want to use GPO )
Dim net
Set net = CreateObject("WScript.Network")
net.RemoveNetwork Drive "O:"
net.MapNetworkDrive "O:", "\\server01\shareA","False"
net.RemoveNetwork Drive "P:"
net.MapNetworkDrive "P:", "\\server01\shareB","False"
net.RemoveNetwork Drive "Q:"
net.MapNetworkDrive "Q:", "\\server02\shareC","False"
HTH,
Cary
Thanks so much for the examples! I think I can do what I want to
accomplish now. I was worried about the effects of mapping a drive if
the it's already mapped, which is why you'd use "net use O:
/delete"...
All the clients in the network (so far) are WinXP Pro. I'm hoping to
use the vbs with GPO, but I'm not much of a coder. Using this
example, maybe I won't have to be!
Thanks for the reply. I appreciate it.