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
  • Avatar
    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.