好湿?好紧?好多水好爽自慰,久久久噜久噜久久综合,成人做爰A片免费看黄冈,机机对机机30分钟无遮挡

主頁 > 知識庫 > 使用FSO按文件大小瀏覽文件目錄并進行刪除操作

使用FSO按文件大小瀏覽文件目錄并進行刪除操作

熱門標簽:外呼系統API接口 修改地圖標注 武夷山旅游地圖標注 萊西電子地圖標注 縣域地圖標注打印店 怎么在地圖標注自己 金昌電話機器人價格 個人可以辦理400電話么 鳳臺百度地圖標注店
%@ Language=VBScript %>
%Server.ScriptTimeout=50000%>
HTML>
HEAD>
META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
meta http-equiv="Content-Type" content="text/html; charset=gb2312">
/HEAD>
BODY>
%
function JudgeParaRegular(intID)
if intID>"" and isnumeric(intID) then
JudgeParaRegular=intId
else
Response.Write "輸入錯誤!"
Response.End
end if
end function
intFileSize=JudgeParaRegular(Request.QueryString("intFileSize"))
strPath=Request.QueryString("strPath")
if instr(strPath,":")=0 then strPath=server.MapPath(strPath)
%>
%
function deletefiles(path)
on error resume next
Set fs=Server.CreateObject("Scripting.FileSystemObject")
if fs.FileExists(path) then
fs.DeleteFile path,True
response.write "成功刪除"path
else
response.write "文件不存在!"
end if
Set fs=nothing
if Err.number>0 then Response.Write Err.number
end function
strFile=request("strFile")
if request("strFile")>"" then
deletefiles strFile
end if

%>

%
function ListFolderFiles(strPath,intFileSize,intFlag)
strOriginPath= Request.ServerVariables("Script_Name") "?strPath=" Request.QueryString("strPath") "intFileSize="Request.QueryString("intFileSize")
if strPath>"" then
if intFlag=0 then
intFlag=intFlag+1
end if
Set objFs=Server.CreateObject("Scripting.FileSystemObject")
Set objFdir=objFs.GetFolder(strPath)
strParentPath= objFs.GetParentFolderName(strPath)
for each strSubFiles in objFdir.files
if strSubFiles.size /(1024^2)>=intFileSize then
Response.Write "TR>" vbcrlf
Response.Write "TD>" replace(strNullTran(strSubFiles),strNullTran(strSubFiles.Name),"b>"strNullTran(strSubFiles.Name)"/b>") "/TD>" vbcrlf
Response.Write "TD>" strNullTran(FormatNumber(strSubFiles.size /(1024^2),2)) " MB/TD>" vbcrlf
Response.Write "TD>" strNullTran(strSubFiles.type) "/TD>" vbcrlf
Response.Write "TD>" strNullTran(strSubFiles.datelastmodified) "/TD>" vbcrlf
Response.Write "TD>A HREF='" strOriginPath "strFile="strNullTran(strSubFiles)"'>img align=absmiddle border=0 src='images/delete.gif'>/A>/TD>" vbcrlf
Response.Write "/TR>" vbcrlf
intFlag=intFlag+strSubFiles.size
end if
next
for each strSubFolders in objFdir.SubFolders
if intFlag=0 then intFlag=1
ListFolderFiles strSubFolders,intFileSize,intFlag
next
else
Response.Write "tr>td colspan=5>輸入錯誤!/td>/tr>"
end if
ListFolderFiles=intFlag
end function
function strNullTran(str)
if isnull(str) or str="" then
strNullTran=" "
else
strNullTran=str
end if
end function
Response.Write "TABLE WIDTH=100% BORDER=1 CELLSPACING=1 CELLPADDING=1>" vbcrlf
Response.Write "TR>" vbcrlf
Response.Write "TD>文件名及路徑/TD>" vbcrlf
Response.Write "TD align=center>大小/TD>" vbcrlf
Response.Write "TD align=center>類別/TD>" vbcrlf
Response.Write "TD align=center>修改時間/TD>" vbcrlf
Response.Write "TD align=center>刪除/TD>" vbcrlf
Response.Write "/TR>" vbcrlf
intFlag=ListFolderFiles(strPath,CDbl(intFileSize),0)
Response.Write "tr>td align=right>總計:/td>td colspan=4>"formatNumber((intFlag-1)/(1024^2),2) " MB/td>/tr>" vbcrlf
Response.Write "/TABLE>" vbcrlf
%>
/BODY>
/HTML>

標簽:南京 赤峰 通遼 上海 楚雄 邢臺 清遠 涼山

巨人網絡通訊聲明:本文標題《使用FSO按文件大小瀏覽文件目錄并進行刪除操作》,本文關鍵詞  使用,FSO,按,文件,大小,瀏覽,;如發現本文內容存在版權問題,煩請提供相關信息告之我們,我們將及時溝通與處理。本站內容系統采集于網絡,涉及言論、版權與本站無關。
  • 相關文章
  • 下面列出與本文章《使用FSO按文件大小瀏覽文件目錄并進行刪除操作》相關的同類信息!
  • 本頁收集關于使用FSO按文件大小瀏覽文件目錄并進行刪除操作的相關信息資訊供網民參考!
  • 推薦文章
    主站蜘蛛池模板: 一区二区三区国产高清视频在线| 国产在线观看中文字幕| 仙尊始乱终弃| A级毛片免费看| 国产乱婬AV精品视频播放男男| 操你综合| 亚洲欧美另类第一页| 色91视频| 中国特级A片又大又粗又长又爽| 免费午夜无码18网站| 男生桶女生的肌肌| 看动物强人类的| 日本巨黄泡妞视频| 男女特黄一级全版视频| 久久精品国产亚洲AV无码偷窥| 亚洲欧美一区二区三区久久| 扒开女人内裤猛进猛出流出白液| 18女毛片| 老师太粗不行坐不下去痛小说| 大伊香蕉精品视频在线天堂女| 肌肉男自慰Gay 网站| 影音先锋在线视频一区VR专区| yw.139尤物在线精品视频| 午夜精品同性女女| 成全电影在线观看免费观看国语| 国产丝袜熟女一区二区在线| 国产激情久久久久久一级A片老师 亚洲中文无码亚洲成a人片app | 天堂国产露脸精品国产| 四川美女一片毛片| 拉到男厕所摁着我脱我衣服| 嗯啊好爽| 久久久久久秋霞理论网片伊人| 国产69精品久久久久久精| 在线观看一区二区精品视频 | 国产??码高潮app| 欧美色综合福利| 国产资源视频在线观看| 国产老熟女精品一区| 顶撞潮双H龙椅榨汁np男男| 韩漫免费观看全部| 欧美另类xxxx|