hta(vbs)列目录树代码(目录树视频怎么下载)万万没想到

随心笔谈2年前发布 编辑
170 0
🌐 经济型:买域名、轻量云服务器、用途:游戏 网站等 《腾讯云》特点:特价机便宜 适合初学者用 点我优惠购买
🚀 拓展型:买域名、轻量云服务器、用途:游戏 网站等 《阿里云》特点:中档服务器便宜 域名备案事多 点我优惠购买
🛡️ 稳定型:买域名、轻量云服务器、用途:游戏 网站等 《西部数码》 特点:比上两家略贵但是稳定性超好事也少 点我优惠购买

磁盘管理器

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=”

For Each a In c_files

sHTML=sHTML & “”

sBPath=a.Path

sHTML=sHTML & a.Path

sHTML=sHTML & “”

Next

sHTML=sHTML & “”

Document.getElementById(“DivList”).innerHTML=sHTML

For Each b In c_folder

sHTML=sHTML & “”

sBPath=b.Path

sBPath=Replace(sBPath, ” “, “*”)

sBPath=Replace(sBPath, “”, “\”)

sHTML=sHTML & “” & b.Path & “

sHTML=sHTML & “”

Next

sHTML=sHTML & “”

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 “”

end if

Next

© 版权声明

相关文章