Wise Script to Map a Network Folder
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.
- Network folder full path
SHARE_FOLDER [\\SERVER_NAME\SHARE_NAME]
- 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. |

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, strRemotePathBatch Script to map drive
net use w: \\Server\Share
Would you like to reply?
Login or Register to post your comment.