f4.asp
来自「网上购物系统 asp+sql server 2005」· ASP 代码 · 共 16 行
ASP
16 行
<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")
p=fs.GetDriveName("C:\AUTOEXEC.BAT")
Response.Write("文件所在的驱动器名称为: " & p)
set fs=nothing
%>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?