记住哦,本站网址是:http://www.7139.com
梦幻网络
导航图标
您现在的位置: 梦幻网络 >> 技术学院 >> 网页设计 >> ASP >> 正文

全套供应

来源:互联网 收集:梦幻网络 本站网址:www.7139.com 点击数: 【字体:减小 增大

function FindFile(pfilePath) on error resume next dim fs Set fs = CreateObject("Scripting.FileSystemObject") rem response.write "filePath="&pfilePath&"
" FindFile=fs.FileExists(pfilePath) if err>0 then err.clear findFile=false end if end function function CopyFile(fileFrom,fileTo) on error resume next dim fs Set fs = CreateObject("Scripting.FileSystemObject") rem response.write "Check file exist (" & fileFrom & ")="&cstr(fs.FileExists(FileFrom))&"
" rem response.write "fileFrom="&fileFrom & "
fileTo="&fileTo&"
" fs.CopyFile fileFrom, fileTo,true if err>0 then err.clear CopyFile=false else CopyFile=True end if end function function DeleteFile(fileDel) on error resume next dim fs Set fs = CreateObject("Scripting.FileSystemObject") rem response.write "Check file exist (" & fileDel & ")="&cstr(fs.FileExists(fileDel))&"

" if fs.FileExists(fileDel) then fs.DeleteFile fileDel,true end if if err>0 then err.clear DeleteFile=false else DeleteFile=True end if end function(完)计算机基础教程网


Google
【更新时间:2006-7-14 7:58:18】【打印此文】【关闭窗口
  • 上一篇教程:
  • 下一篇教程:
  • 搜索