Rename Network Drive VBS

Home Forums Scripting General Scripting Rename Network Drive VBS

Viewing 1 post (of 1 total)
  • Author
  • Avatar

    I’me trying to rename a network drive from a path to a name. I’ve been trying this

    Set oShell = CreateObject(“Shell.Application”)
    oShell.NameSpace(“W:”).Self.Name = “OneDrive”

    But it doesn’t do anything and its the same example I find on every scripting site

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.