Login to participate
Endpoint Management & Virtualization DownloadsRSS

Wise Script to Map a Network Folder

Eshwar's picture

If you are planning to map a network folder as a drive using Wise script, attached is the Wise script that can do the task for you.

You have to define two variables in this sample script.

  1. Network folder full path

    SHARE_FOLDER [\\SERVER_NAME\SHARE_NAME]

  2. Drive letter

    DRIVE_LETTER[W:]

License: AJSL
By clicking the download link below, you agree to the terms and conditions in the Altiris Juice Software License
Support: User-contributed tools on the Juice are not supported by Altiris Technical Support. If you have questions about a tool, please communicate directly with the author by visiting their profile page and clicking the 'contact' tab.
Siddram's picture

VBScript to Map a Network Folder

Dim objNetwork, strDrive, objShell
Dim strRemotePath, strDriveLetter, strNewName

strDriveLetter = "F:"
strRemotePath = "\\MyServer\Myfolder"

' Section to map the network drive
Set objNetwork = CreateObject("WScript.Network")
objNetwork.MapNetworkDrive strDriveLetter, strRemotePath

wuzfuzzy's picture

Batch Script to map drive

net use w: \\Server\Share