Hi,
if i have to map from NT to a unix drive which requires a username and password how do i do it?
1set wn=CreateObject("WScript.Network.1"
2wn.MapNetworkDrive "Z:","\\ex-am-3transporter\dbo","tim","horton"
4
5Set fso = CreateObject("Scripting.FileSystemObject"
6fso.MoveFile fileName,"Z:\"
The above example gives me a Type Mismatch error at lines 2 and 3
if i have to map from NT to a unix drive which requires a username and password how do i do it?
1set wn=CreateObject("WScript.Network.1"
2wn.MapNetworkDrive "Z:","\\ex-am-3transporter\dbo","tim","horton"
4
5Set fso = CreateObject("Scripting.FileSystemObject"
6fso.MoveFile fileName,"Z:\"
The above example gives me a Type Mismatch error at lines 2 and 3