【发布时间】:2021-04-01 09:16:42
【问题描述】:
我正在尝试使用 fso.folder 副本在网络驱动器上创建备份数据库。我的意图是移动文件夹中的所有文件,但如果备份驱动器上已经存在文件,请跳过它,然后复制文件夹中的其余文件。我目前有
SourceFileName="C:\users\desktop\test1"
DestinFileName="C:\users\desktop\test2"
FSO.copyfolder Source:=Sourcefilename, Destination:=Destinfilename, OverwriteFiles:= False
但是,脚本在找到现有文件时出错。任何建议将不胜感激。
【问题讨论】: