拷贝网络文件

   net use z: //ipaddress/directory password /USER:username
Const OverwriteExisting = True
Set objFSO = CreateObject("Scripting.FileSystemObject")
objFSO.CopyFile "z:/vbs/*.vbs" , "f:/Archive/" , OverwriteExisting
net use z: /DELETE

你可能感兴趣的:(网络)