最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
asp 文件自动复制 文件移动 安装程序
时间:2010-04-19 编辑:简简单单 来源:一聚教程网
sub install()
call fs()
set folder=fsobject.getfolder(server.mappath("."))
response.write("Installation documentation is complete,Installation of the following documents
")
for each fd in folder.files
fname=server.MapPath("./"&fd.name)
path2=server.MapPath("../"&fd.name)
for b=0 to 20
response.flush()
next
call copyfiles(fname,path2)
for s=0 to 10
response.flush()
next
next
end sub
sub copyfiles(path,path2)
set mycopy=fsobject.getfile(path)
response.flush()
mycopy.copy path2
response.write("installed success ! "&path2&"
")
response.Flush()
end sub
%>
调用方法
call install()
本站原创转载注明 www.111com.net
相关文章
- VBS 批量Ping的项目讲解 09-19
- 如何封装一个Ajax函数介绍 09-16
- ASP实现加法验证码方法 09-16
- ASP错误捕获的几种常规处理方法介绍 09-16
- ajax实现城市三级联动的代码介绍 09-16
- asp中获取日期为星期几的技巧 09-14