Discussion:
rename a mapped drive
(too old to reply)
cw
2007-02-28 10:06:26 UTC
Permalink
Hi all

I am currently using

net use to map certain drives on my server across our network with the use
of a login.bat file

however I would like to be able to rename these mapped drives to something
more meaningful and cut out all the jargon on the end

for example

Archive on MAC os Server (192.168.0.2) (Z:)
Admin on MAC os Server (192.168.0.2) (Y:)

to

Archive (Z:)
Admin (Y:)

is there any way to do this using a batch file

Thanks
Craig
Dave R.
2007-02-28 12:26:43 UTC
Permalink
Post by cw
Hi all
I am currently using
net use to map certain drives on my server across our network with the
use of a login.bat file
however I would like to be able to rename these mapped drives to
something more meaningful and cut out all the jargon on the end
for example
Archive on MAC os Server (192.168.0.2) (Z:)
Admin on MAC os Server (192.168.0.2) (Y:)
to
Archive (Z:)
Admin (Y:)
is there any way to do this using a batch file
The display name is stored in the registry so it is possible to do, but
exactly where it is stored and what the format needs to be are OS
version dependent. A quick Google for _LabelFromReg or
_LabelFromDesktopINI should provide plenty of resources.

Regards,

Dave
cw
2007-02-28 14:54:26 UTC
Permalink
Post by Dave R.
Post by cw
Hi all
I am currently using
net use to map certain drives on my server across our network with the
use of a login.bat file
however I would like to be able to rename these mapped drives to
something more meaningful and cut out all the jargon on the end
for example
Archive on MAC os Server (192.168.0.2) (Z:)
Admin on MAC os Server (192.168.0.2) (Y:)
to
Archive (Z:)
Admin (Y:)
is there any way to do this using a batch file
The display name is stored in the registry so it is possible to do, but
exactly where it is stored and what the format needs to be are OS version
dependent. A quick Google for _LabelFromReg or _LabelFromDesktopINI
should provide plenty of resources.
Regards,
Dave
Thanks very much

I will look into it

Craig
cw
2007-02-28 15:07:05 UTC
Permalink
Post by Dave R.
Post by cw
Hi all
I am currently using
net use to map certain drives on my server across our network with the
use of a login.bat file
however I would like to be able to rename these mapped drives to
something more meaningful and cut out all the jargon on the end
for example
Archive on MAC os Server (192.168.0.2) (Z:)
Admin on MAC os Server (192.168.0.2) (Y:)
to
Archive (Z:)
Admin (Y:)
is there any way to do this using a batch file
The display name is stored in the registry so it is possible to do, but
exactly where it is stored and what the format needs to be are OS version
dependent. A quick Google for _LabelFromReg or _LabelFromDesktopINI
should provide plenty of resources.
Regards,
Dave
Googled _labelfromreg, found and have a solution in under ten mins

Nice one

Craig
Dave R.
2007-02-28 17:35:59 UTC
Permalink
Post by cw
Post by Dave R.
Post by cw
Hi all
I am currently using
net use to map certain drives on my server across our network with
the use of a login.bat file
however I would like to be able to rename these mapped drives to
something more meaningful and cut out all the jargon on the end
for example
Archive on MAC os Server (192.168.0.2) (Z:)
Admin on MAC os Server (192.168.0.2) (Y:)
to
Archive (Z:)
Admin (Y:)
is there any way to do this using a batch file
The display name is stored in the registry so it is possible to do,
but exactly where it is stored and what the format needs to be are OS
version dependent. A quick Google for _LabelFromReg or
_LabelFromDesktopINI should provide plenty of resources.
Googled _labelfromreg, found and have a solution in under ten mins
Nice one
Glad to help.

Best Regards,

Dave

Continue reading on narkive:
Loading...