最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
asp 显示目录存在时显示此目录下的所有子目录
时间:2022-07-02 23:43:41 编辑:袖梨 来源:一聚教程网
'参数:目录名(相对路径) ,对象
Public Function ShowFolderList(folderUrl,tag,listType)
Dim f,f1,fc,i,temp,disabledtf
On Error Resume Next
temp = Server.MapPath(folderUrl)
If oFso.FolderExists(temp) Then
Set f = oFso.GetFolder(temp)
Set fc = f.SubFolders
If listType = "list" Then
disabledtf = "disabled"
Else
disabledtf = ""
End If
ShowFolderList = "
Else
ShowFolderList = "-"
End if
If Err <> 0 Then Err.Clear
Set f = Nothing
Set fc = nothing
End Function
相关文章
- 银与绯吉尔兰技能怎么样 吉尔兰战斗特性解析 07-14
- 异环异象管理局局长是谁 艾尔菲德角色详细介绍 07-14
- 欧意易ok官网下载版 欧意易app下载 07-14
- 迷你世界马车怎么做 马车制作方法介绍 07-14
- 碳碳岛许愿池有什么作用 许愿池建造方法介绍 07-14
- 最终幻想14水晶世界怎么招募雇员 招募雇员方法介绍 07-14