📄 f3.asp
字号:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>探测驱动器是否存在</title>
</head>
<body>
<h1 align="center">探测驱动器是否存在</h1>
<%
Set fs=Server.CreateObject("Scripting.FileSystemObject")
if fs.driveexists("F:") = true then
Response.Write("F: 盘存在")
Else
Response.Write("F: 盘不存在")
End If
set fs=nothing
%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -