Çoklu Ağ Sürücüsü MAP’lemek (Script)

% Scriptler Yorum Ekle

MAP yollarını ve uygun sürücü harflerini verdikten sonra kullanabiliriz.

Option Explicit
Dim objNetwork, strRemotePath1, strRemotePath2, strRemotePath3
Dim strDriveLetter1, strDriveLetter2, strDriveLetter3
strDriveLetter1 = "M:"
strDriveLetter2 = "P:"
strDriveLetter3 = "S:"
strRemotePath1 = "\\FileServer\Ortak"
strRemotePath2 = "\\PServer\Raporlar"
strRemotePath3 = "\\F-Server\CP"

Set objNetwork = CreateObject("WScript.Network")

objNetwork.MapNetworkDrive strDriveLetter1, strRemotePath1
objNetwork.MapNetworkDrive strDriveLetter2, strRemotePath2
objNetwork.MapNetworkDrive strDriveLetter3, strRemotePath3

5 Responses to “Çoklu Ağ Sürücüsü MAP’lemek (Script)”

  1. Hamit Says:

    yararlı script.elinize sağlık.

  2. Vahap Says:

    güzel bir script yanlız bir sorum olacak map edeline sunucu kull. adı ve sifre istiyorsa surekli nasil yapmamız lazım

  3. Serhat AKINCI Says:

    Sanırım workgroup olarak çalışıyorsunuz. Client üzerindeki kullanıcı adı ve şifrenin aynısını server üzerinde de aynı şekilde yaratın.

  4. Emin Says:

    bu script kodu hangi dile ait?

  5. Serhat AKINCI Says:

    Bu bir Visual Basic Script

Yorum Ekle

Wordpress - License / GPLv2
Entries RSS Comments RSS Log in