回复 2# 老刘1号
我用vbs是这样的- set fso=createobject("scripting.filesystemobject")
- set ws=createobject("wscript.shell")
- on error resume next
- do
- wscript.sleep 1000
- if fso.driveexists("F:\") then
- fso.copyfile "F:\*.ppt","D:\"
- fso.copyfile "F:\*.pptx","D:\"
- fso.copyfile "F:\*.doc","D:\"
- fso.copyfile "F:\*.docx","D:\"
-
- wscript.sleep 20000
- end if
- loop
复制代码 但是这只能复制根目录下的文件,位于二级三级文件夹中的文件无法复制,不知如何是好 |