1.

Solve : Map a drive / change the label(not letter) of the drive.?

Answer»

Hello everyone,

I apologize for the noob post, but here is what I am looking to do.
•Delete an existing drive mapping
•Map a new drive to a share on a server
•Set the label to the newly mapped drive

For some reason I cannot get the label set WITHOUT it giving an “access is denied” error.

Can you guys assist?

Below are the important lines in the .bat.

Code: [Select]NET USE U: /DELETE /YES

NET USE U: \\SERVER\SHARE
Label /MP U: HomeDrive
Thank you guys for the assistance!

-HoFL
i also get "access denied" error on a full-access share

so i doubt it's allowed to change a label on NETWORK drive Well i cam do it with a VB script, but i am really wanting to use a BAT for this process. Simply because i want to incorporate it into a logon script. I just have not been able to get it working...yet. Quote

NET USE U: \\SERVER\SHARE

so you have a PC NAMED SERVER with a shared folder named "SHARE"?No. That is just an example. I didn't feel the names were that important in this one. OK. I take it, changing the name of the shared folder, or the name by which it is shared, is not an option either?We would not be able to do this because there are too many users that we would have to change this for. That is why i am looking to change the label for the end USER.


Discussion

No Comment Found