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 16 years, 1 month ago.

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

    A simple example te map driveletters to shared resources:

    ‘ 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.