数码资讯
asp实现了检查目录是否存在和目录的建立的功能。
------------------------- 检查目录是否存在 ---------------------- 功能checkdir(ByVal FolderPath) 暗淡的光 设置FSO = server.createobject(脚本。FileSystemObject ) 如果fso.fo
选购提示
关注价格、性能、续航、售后和真实使用场景,理性比较后再下单。
-------------------------
检查目录是否存在
----------------------
功能checkdir(ByVal FolderPath)
暗淡的光
设置FSO = server.createobject(脚本。FileSystemObject )
如果fso.folderexists(server.mappath(folderpath))然后
存在
checkdir =真
其他的
没有存在
checkdir = false
最后如果
设置FSO
端功能
-------------------------
创建目录
----------------------
功能makenewsdir(ByVal相似)
暗淡的光
设置FSO = server.createobject(脚本。FileSystemObject )
Fso.CreateFolder(server.mappath(相似的))
如果fso.folderexists(server.mappath(相似))然后
makenewsdir =真
其他的
makenewsdir = false
最后如果
设置FSO
端功能
检查目录是否存在
----------------------
功能checkdir(ByVal FolderPath)
暗淡的光
设置FSO = server.createobject(脚本。FileSystemObject )
如果fso.folderexists(server.mappath(folderpath))然后
存在
checkdir =真
其他的
没有存在
checkdir = false
最后如果
设置FSO
端功能
-------------------------
创建目录
----------------------
功能makenewsdir(ByVal相似)
暗淡的光
设置FSO = server.createobject(脚本。FileSystemObject )
Fso.CreateFolder(server.mappath(相似的))
如果fso.folderexists(server.mappath(相似))然后
makenewsdir =真
其他的
makenewsdir = false
最后如果
设置FSO
端功能
声明:本文内容用于数码产品信息整理与选购参考,具体价格、库存、售后政策以官方渠道和电商页面实时信息为准。