asp依照指定目录使用fso创建文件夹代码
发布时间:2022-01-09 16:05:59 所属栏目:Asp教程 来源:互联网
导读:asp按照指定目录使用fso创建文件夹代码: 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
asp按照指定目录使用fso创建文件夹代码: 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","/" (编辑:晋中站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- 本田中国首款电动摩托车新品发布会直播
- ASP.NET Core根据环境变量支持多个 appsettings.json配置文
- 使用Seq搭建免费的日志服务的方法
- 又一互联网装修服务平台获融资:考拉小匠获数千万元Pre-A轮
- ExecuteReader(),ExecuteNonQuery(),ExecuteScalar(),Execu
- 植树造林 防风固沙攻坚战,这些家居人在努力!
- 索菲亚2020年前三季度净利润6.97亿元 同比下降3.17%
- ASP.NET Core MVC如何实现运行时动态定义Controller类型
- 帝欧家居子公司帝王卫浴即将注销;“JS环球生活”于香港联交
- 欧派家居2020年前三季度净利润14.5亿元 同比增长5.23%