最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
用ASP列出服务器上的所有硬盘及类型
时间:2022-06-30 10:03:43 编辑:袖梨 来源:一聚教程网
列出服务器的的所有磁盘.
<%
function Tran(drv)
select case drv
case 0:Tran="设备无法识别"
case 1:Tran="软盘驱动器"
case 2:Tran="硬盘驱动器"
case 3:Tran="网络硬盘驱动器"
case 4:Tran="光盘驱动器"
case 5:Tran="RAM虚拟驱动器"
end select
end function
Set fs=Server.CreateObject("Scripting.FileSystemObject")
response.write "
"
%>
<%
function Tran(drv)
select case drv
case 0:Tran="设备无法识别"
case 1:Tran="软盘驱动器"
case 2:Tran="硬盘驱动器"
case 3:Tran="网络硬盘驱动器"
case 4:Tran="光盘驱动器"
case 5:Tran="RAM虚拟驱动器"
end select
end function
Set fs=Server.CreateObject("Scripting.FileSystemObject")
response.write "
盘符 | 驱动器类型 |
" & d.DriveLetter & " | " & Tran(d.DriveType) & " |
%>
相关文章
- 对决剑之川诸葛玲珑角色介绍一览 09-20
- 原神奈芙尔角色星级介绍 09-20
- 失控进化防护服获取攻略 09-20
- 失控进化冲锋枪汇总一览 09-20
- 逆战未来猎场传送玩法介绍一览 09-20
- 无限暖暖旧琴谱与即兴节拍协奏任务流程攻略 09-20