Hi guys,
Im using the script below to map some drives. Its saying network location not found, but when I try it in the mycomputer location bar it works fine.
Set WSHNetwork = CreateObject("WScript.Network")
WSHNetwork.MapNetworkDrive "S:", "\\ictserv\staff"
WSHNetwork.MapNetworkDrive "T:", "\\ictserv\backups\%username%"
set WSHNetwork = Nothing
wscript.quit
Any ideas?
Im using the script below to map some drives. Its saying network location not found, but when I try it in the mycomputer location bar it works fine.
Set WSHNetwork = CreateObject("WScript.Network")
WSHNetwork.MapNetworkDrive "S:", "\\ictserv\staff"
WSHNetwork.MapNetworkDrive "T:", "\\ictserv\backups\%username%"
set WSHNetwork = Nothing
wscript.quit
Any ideas?