example4.txt

来自「ASP切分器」· 文本 代码 · 共 26 行

TXT
26
字号
<html>
<head>
<title>ASP Parser by Pablo Software Solutions: Example 4</title>
</head>
<body>

<%	
Function ShowDirectory(strDir)
Dim objFileSystem
Dim objFolder
set objFileSystem = CreateObject("Scripting.FileSystemObject")
set objFolder = objFileSystem.GetFolder(strDir)
for each File in objFolder.Files
	Response.Write Replace(File, objFolder & "\", "") & "<BR>"
next
end Function
%>

The following files are in this directory: <BR>
<%
	ShowDirectory "c:\"
%>

</body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?