本帖最后由 pcl_test 于 2015-8-1 10:58 编辑
- Dim fso:Set fso = CreateObject("Scripting.FileSystemObject")
- For i=1 to 18
- If fso.folderExists("D:\"&i&"\")<>True Then fso.CreateFolder "D:\"&i&"\"
- fso.CopyFolder "E:\A\*","D:\"&i&"\",True
- fso.CopyFile "E:\A\*","D:\"&i&"\",True
- Next
- Msgbox "完成"
复制代码
|