wesleyw Posted July 12, 2006 Posted July 12, 2006 Does anyone know of a way to map a drive and setting up a different label for instance: \\Server1\sharedarea map to j drive name displayed in my computer/explorer Staff Shared Area? Is this possible or am I hoping for too much here? Wes
plexer Posted July 12, 2006 Posted July 12, 2006 Any good? http://myitforum.com/articles/11/view.asp?id=6492 Ben
mrforgetful Posted July 12, 2006 Posted July 12, 2006 Why not just change what the folder is shared as, it's that which is displayed no?
ajbritton Posted July 12, 2006 Posted July 12, 2006 It is possible to do it from VB Script as follows... dim oNet, oShell set oNet = CreateObject("Wscript.Network") set oShell = CreateObject("Shell.Application") oNet.MapNetworkDrive "J:", "\\server\share" oShell.NameSpace("J:").Self.Name = "Shared Work Area" set oShell = nothing set oNet = nothing EDIT: This appears not to work on Win2K Pro.
wesleyw Posted July 12, 2006 Author Posted July 12, 2006 We only use Win XP pro so hopefully that will work I'll let you know! Thanks Guys! Wes
OverWorked Posted September 11, 2006 Posted September 11, 2006 oShell.NameSpace("J:").Self.Name = "Shared Work Area" I was searching for something else when I came across this. I've given my mapped drives user-friendly names now. Great! Another little niggle sorted.
ChrisH Posted September 11, 2006 Posted September 11, 2006 oShell.NameSpace("J:").Self.Name = "Shared Work Area" I was searching for something else when I came across this. I've given my mapped drives user-friendly names now. Great! Another little niggle sorted. I tried that last year and ran into permission problems when running in the context of a logon script. I shall have to have another go though........
ajbritton Posted September 12, 2006 Posted September 12, 2006 I use it in a logon script and it works fine. My logon scripts are assigned via GP (not user account property).
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now