接到一个任务,需要将文件服务器上的一部分文件定期拷贝到sharepoint文档库中,很简单的一个VBS脚本

Const OverwriteExisting = True
Set objFSO = CreateObject("Scripting.FileSystemObject")
objFSO.CopyFile "\\server1\Department\IT\Share\IT_express\abc.xls" , "\\server2\DavWWWRoot\clds\DocLib3\IT\"

在win7客户端运行正常,但是放在server2003的服务器上运行脚本报错,找不到路径

后来发现是server2003的服务web client未启动,启动后就OK了

相关文章:

  • 2021-10-11
  • 2022-12-23
  • 2021-10-08
  • 2022-12-23
  • 2021-11-20
  • 2022-01-21
  • 2022-12-23
  • 2021-10-21
猜你喜欢
  • 2021-10-01
  • 2021-12-18
  • 2021-04-27
  • 2021-08-27
  • 2022-12-23
  • 2021-07-26
  • 2021-12-18
相关资源
相似解决方案