Computing.Net > Forums > Windows Server 2003 > Map drive with specified name

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

Map drive with specified name

Reply to Message Icon

Original Message
Name: jester4281
Date: November 15, 2004 at 05:15:03 Pacific
Subject: Map drive with specified name
OS: Windows 2003
CPU/Ram: P4
Comment:

How could I map a drive like this

NET USE R: \\servername\share

But when the user sees it show R: specified name, instead of R: \\Servername\share

The same as renaming but through a bat file.

Jester4281


Report Offensive Message For Removal


Response Number 1
Name: cat62
Date: December 6, 2004 at 01:31:04 Pacific
Reply:

I'm trying to find a document i had which might help. It had the command you need to put in the batch file whereby it first deleted any R drive first and then created the R drive you want to specify. I know R is not a common drive letter but if the user has already manually mapped R to some share, your R is being ignored. If i can find the command i'll send it on. i think it was one of the Net commands.


Report Offensive Follow Up For Removal

Response Number 2
Name: Wikidclown
Date: December 30, 2004 at 08:47:08 Pacific
Reply:

use r: /d <- removes existing share
use r: \\server\share <- creates new share


Report Offensive Follow Up For Removal

Response Number 3
Name: Wikidclown
Date: December 30, 2004 at 08:48:49 Pacific
Reply:

try a vbs to rename

code is

mDrive = "MAPPED DRIVE LETTER:\"
Set oShell = CreateObject("Shell.Application")
oShell.NameSpace(mDrive).Self.Name = "DISPLAYED NAME"


Report Offensive Follow Up For Removal







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows Server 2003 Forum Home



Results for: Map drive with specified name

Windows 2003 Mapped Drives
    Summary: This message was posted in the past, but it didn't have a solution. I am not having the same issue, and was wondering if anyone had any insight on it. Thanks very much. Name: Arvind (by Arvindsing...
www.computing.net/answers/windows-2003/windows-2003-mapped-drives/5685.html

Mapped Drive Problem
    Summary: put the scripts in the active directiry sys vol folder that will allow you to map drive to any user on the network but you have to put the name of the batch file in the user profile so it knows what f...
www.computing.net/answers/windows-2003/mapped-drive-problem/2657.html

Problem Connecting To Mapped Drive
    Summary: Hi I dont know if I am doing this the right way. But I am having difficulties connecting to a Mapped Drive. 1. I created a user named JD in AD. 2. Created a shared folder in AD. 3. Logged into a Wo...
www.computing.net/answers/windows-2003/problem-connecting-to-mapped-drive/5469.html








Where do you get your digital music from?

iTunes
Amazon
Rhapsody
Elsewhere ;)
Don't have any


View Results

Poll Finishes In 7 Days.
Discuss in The Lounge
Poll History






Data Recovery Software