Good afternoon,
I've been playing around with this script and cannot get it to run without "network path not found". I see the line that the message refers to, but I'm not seeing how it's an error given the variables set up top.
Can someone shed a little light on this for me please?
--------------------------------------------------------------------------------------
Option ExplicitDim objNetwork, strRemotePath1, strRemotePath2, strRemotePath3
Dim strDriveLetter1, strDriveLetter2, strDriveLetter3
strDriveLetter1 = "X:"
strDriveLetter2 = "Y:"
strDriveLetter3 = "Z:"
strRemotePath1 = "\\largeformat1\working folder"
strRemotePath2 = "\\largeformat2\working folder"
strRemotePath3 = "\\largeformat3\working folder"
Set objNetwork = CreateObject("WScript.Network")
objNetwork.MapNetworkDrive strDriveLetter1, strRemotePath1
objNetwork.MapNetworkDrive strDriveLetter2, strRemotePath2
objNetwork.MapNetworkDrive strDriveLetter3, strRemotePath3
Wscript.Quit