'我的D:\测试,文件夹里面的00001至00100,一共100文件,后缀是TXT。
'我想把00020至00040,TXT文件,复制到D:\测试\2号,可是提示错误
set fso=createobject("scripting.filesystemobject")
l=array(00020,00040)
for each File in fso.getfolder("D:\测试").files
count=count+1:if count>=l(0) and count<=l(1) then fso.copyfile file,"D:\测试\2号"
next