VBS — example Map drive

Home Forums Scripting Windows Script Host VBS — example Map drive

This topic contains 0 replies, has 1 voice, and was last updated by Avatar Dumber 15 years, 5 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • Avatar
    Dumber
    Participant
    #98217

    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.