sub install()
call fs()
set folder=fsobject.getfolder(server.mappath("."))
response.write("<b>Installation documentation is complete,Installation of the following documents</b><br>")
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("<b>installed success ! </b>"&path2&"<br>")
response.Flush()
end sub
%>
调用方法
call install()
本站原创转载注明 www.111cn.net
时间: 2024-09-20 00:02:40