Hirdetés

Keresés

Új hozzászólás Aktív témák

  • momoxp
    tag

    Adott ez a script, Az lenn a kérdésem hova keéne és mit beszúrnom hogy a felhasználói nevet és jelszót hozzáadja?

    Option Explicit
    Dim objNetwork
    dim objFSO
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    Set objNetwork = WScript.CreateObject("WScript.Network")
    Dim strDriveLetter1, strRemotePath1
    Dim strDriveLetter2, strRemotePath2
    'end of varible declarations

    strDriveLetter1 = "D:"
    strRemotePath1 = "\\server\mappa01"
    strDriveLetter2 = "E:"
    strRemotePath2 = "\\server\mappa02"
    'end of varible setup

    objNetwork.MapNetworkDrive strDriveLetter1, strRemotePath1
    objNetwork.MapNetworkDrive strDriveLetter2, strRemotePath2
    'end of map creation code

    WScript.Quit

Új hozzászólás Aktív témák