国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁(yè) > 編程 > ASP > 正文

Asp按照指定目錄使用fso創(chuàng)建文件夾

2024-05-04 11:07:10
字體:
來(lái)源:轉(zhuǎn)載
供稿:網(wǎng)友
Sub EFolder(FolderName)
Dim FSO
Set FSO=Server.CreateObject("Scripting.FileSystemObject")
If Fso.folderexists(Server.MapPath(FolderName)) Then
Set FSO=Nothing
Exit Sub
Else
FSO.CreateFolder(Server.MapPath(FolderName))
End If
Set FSO=Nothing
End Sub
'===================================================================
Sub ArrayFolder(Path,sep)
Dim ArrayPath,EPath,newPath
ArrayPath = split(Path,sep)
newPath=""
for each Epath in ArrayPath
newPath=newPath&Epath&"/"
newPath = replace(newPath,"//","/")
EFolder newPath
next
End Sub

ArrayFolder "1/2/3","/"
發(fā)表評(píng)論 共有條評(píng)論
用戶名: 密碼:
驗(yàn)證碼: 匿名發(fā)表
主站蜘蛛池模板: 丹江口市| 辽阳县| 丰顺县| 大关县| 万盛区| 鄯善县| 青河县| 临沭县| 商水县| 灌云县| 平远县| 始兴县| 蒲城县| 景宁| 当雄县| 犍为县| 南安市| 青铜峡市| 锦屏县| 高阳县| 连平县| 卢湾区| 北宁市| 个旧市| 琼海市| 凉山| 政和县| 安塞县| 榆中县| 广河县| 南澳县| 绍兴县| 通城县| 雷山县| 当阳市| 莱州市| 常熟市| 璧山县| 固安县| 建阳市| 灌云县|