GET-IT: TEAMS DAY | 1-Day Free Virtual Conference all about Teams. Here on Petri.com - 8/12/20 GET-IT: TEAMS DAY - 8/12/20

VBS — example Map drive

Home Forums Scripting Windows Script Host VBS — example Map drive

Viewing 1 post (of 1 total)
  • Author
    Posts
  • Avatar
    Dumber
    Member
    #98117

    A simple example te map driveletters to shared resources:

    Code:
    ‘ AUTHOR: Marcel Henderik
    ‘Comment: simple example to create mapped drives.

    Dim Network
    Set Network = CreateObject(”Wscript.network”)

    Network.MapNetworkDrive “G:”, “\Server1Data”
    Network.MapNetworkDrive “J:”,”\Server2groups”
    Network.MapNetworkDrive “K:”, “\Server1alg”

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.