Results 1 to 5 of 5

Thread: How to Change Drive Label (Win2003)

  1. #1
    vince123123
    Guests

    Default How to Change Drive Label (Win2003)

    Hi everyone, an IT question.

    Right now I can set in Active Directory, a home folder. I then use the command net use h: /home to hap that home folder to H Drive for each logged in user.

    Trouble is that the default label is something like "<user> on <servername>\share folder" or some long long complex sounding names.

    To not confuse my users, I hope to set this as simply "Home".

    Is there a way to do this via logon script or something? I tried the "label" command but that didn't seem to work either.

    Thanks!

  2. #2

    Default Re: How to Change Drive Label (Win2003)

    Well, you could try a bit of VBscript, add it after you map the drives:

    Set oShell = CreateObject("Shell.Application")
    oShell.NameSpace("H:\").Self.Name = "your_label"
    Alpha

  3. #3
    vince123123
    Guests

    Default Re: How to Change Drive Label (Win2003)

    Hmm, you're talking to a non-programmer here haha :P I only know I'm supposed to copy those into a text file and name it *.vbs. After that I don't know liao...can assist?


    Quote Originally Posted by Rashkae View Post
    Well, you could try a bit of VBscript, add it after you map the drives:

    Set oShell = CreateObject("Shell.Application")
    oShell.NameSpace("H:\").Self.Name = "your_label"

  4. #4

    Default Re: How to Change Drive Label (Win2003)

    just change the your_label to something and try it.
    Alpha

  5. #5
    vince123123
    Guests

    Default Re: How to Change Drive Label (Win2003)

    Ah okay, I just tried making a vbs file and then using wscript to call it in my batch file. And it works.
    Thanks!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •