[英]VBScript copy a file from a Network Server to another Network Server
我要从中复制文件
\\Server\SharedFolder\NameOfFile.txt
至
\\Server2\SecondSharedFolder\NameOfFile - 1-10-2012.txt
我可以复制并重命名本地驱动器上的文件。 我无法访问名为NameOfFile.txt的文件
我收到以下错误
Microsoft VBScript runtime error (50, 9) : File not found
这是有问题的代码
fso.CopyFile SourcePath, DestinationPath, True
SourcePath缺少“ \\”
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.