濮阳杆衣贸易有限公司

主頁 > 知識庫 > hta(vbs)列目錄樹代碼

hta(vbs)列目錄樹代碼

熱門標簽:不錯的400電話辦理 電話機器人適用業(yè)務 獲客智能電銷機器人 湛江電銷防封卡 哈爾濱外呼系統(tǒng)代理商 南昌辦理400電話怎么安裝 徐州天音防封電銷卡 鄭州智能外呼系統(tǒng)運營商 佛山防封外呼系統(tǒng)收費

復制代碼 代碼如下:

html>
head>
title>磁盤管理器/title>
/head>
body>
div id="DivList">/div>
script language="vbscript">
Sub List(sPath)
sPath = Replace(sPath, "*", " ")
Set FSO = CreateObject("Scripting.FileSystemObject")
Set c_drive = FSO.GetFolder(sPath)
Set c_files = c_drive.Files
Set c_folder = c_drive.SubFolders
sHTML = "table width='100%' border='1' cellspacing='0' cellpadding='0'>"
For Each a In c_files
sHTML = sHTML "tr>td>"
sBPath = a.Path
sHTML = sHTML a.Path
sHTML = sHTML "br />/td>/tr>"
Next
sHTML = sHTML "/table>"
Document.getElementById("DivList").innerHTML = sHTML
For Each b In c_folder
sHTML = sHTML "tr>td>"
sBPath = b.Path
sBPath = Replace(sBPath, " ", "*")
sBPath = Replace(sBPath, "\", "\\")
sHTML = sHTML "a href=# onclick=vbs:List(""" sBPath """)>" b.Path "/a>"
sHTML = sHTML "br />/td>/tr>"
Next
sHTML = sHTML "/table>"
Document.getElementById("DivList").innerHTML = sHTML
End Sub
strComputer = "."
Set wbemServices = Getobject("winmgmts:\\" strComputer)
Set wbemObjectSet=wbemServices.execquery("select name from Win32_PerfRawData_PerfDisk_LogicalDisk")
For Each mo In wbemObjectSet
if InstrRev(mo.name,":", -1, 0)>0 then
document.write "input type=button value="mo.name" onclick=list('"mo.name"\""')>"
end if
Next
/script>
/body>
/html>

標簽:安康 懷化 紹興 蕪湖 吉安 蘭州 呂梁 廣西

巨人網(wǎng)絡通訊聲明:本文標題《hta(vbs)列目錄樹代碼》,本文關鍵詞  hta,vbs,列,目錄樹,代碼,hta,;如發(fā)現(xiàn)本文內(nèi)容存在版權問題,煩請?zhí)峁┫嚓P信息告之我們,我們將及時溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡,涉及言論、版權與本站無關。
  • 相關文章
  • 下面列出與本文章《hta(vbs)列目錄樹代碼》相關的同類信息!
  • 本頁收集關于hta(vbs)列目錄樹代碼的相關信息資訊供網(wǎng)民參考!
  • 推薦文章
    万州区| 大宁县| 康定县| 临邑县| 苏州市| 茌平县| 乐山市| 金山区| 安泽县| 朝阳区| 九台市| 达拉特旗| 晋江市| 潜江市| 舞钢市| 墨竹工卡县| 丽水市| 临颍县| 成武县| 永清县| 义马市| 蓝山县| 葫芦岛市| 包头市| 灵寿县| 古田县| 新巴尔虎左旗| 东至县| 汉川市| 六盘水市| 西青区| 基隆市| 馆陶县| 汉中市| 桂东县| 泰兴市| 赤城县| 桐柏县| 济源市| 祥云县| 石首市|