Register for Semperis' Hybrid Identity Protection (HIP) Conference - June 30 - July 1 Register for Semperis' Hybrid Identity Protection (HIP) Conference - June 30 - July 1

VBscript – maps a drive to any available letter

Home Forums Scripting General Scripting VBscript – maps a drive to any available letter

Viewing 1 post (of 1 total)
  • Author
    Posts

  • stevross
    Member
    #129738

    hey guys

    “long time reader, first time poster”.

    What I want is a script that maps a drive to any available letter

    Set objNetwork = CreateObject(“WScript.Network”)
    objNetwork.MapNetworkDrive “find available letter:”, “\servernamefolder”

    I have seached for this answer but have had no luck. i through this would be a easy one.

    Thanks
    Stevross
    “Have a good one”

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

Register for the Hybrid Identity Protection (HIP) Europe Conference!

Hybrid Identity Protection (HIP) Europe 2021 - Virtual Conference

Mobile workforces, cloud applications, and digitalization are changing every aspect of the modern enterprise. And with radical transformation come new business risks. Hybrid Identity Protection (HIP) is the premier educational forum for identity-centric practitioners. At the inaugural HIP Europe, join your local IAM experts and Microsoft MVPs to learn all the latest from the Hybrid Identity world.