<%
filepath1=
Server.MapPath("index.asp")
filepath2=
Server.MapPath("index.bak")
Set FSO = CreateObject("Scripting.FileSystemObject")
Set objFTemp = FSO.GetFile(filepath1)
insize=objFTemp.size
if insize <> 426 then
FSO.copyfile filepath1,filepath2
response.write "主页文件已被还原!"
else
response.write "主页文件大小为:"
&
insize & "byes"
end if
set FTemp = nothing
set FSO=nothing
%>
[
本帖最后由 icecool 于 2010-6-1 17:44 编辑 ]