快手样哥:如何用asp实现在指定目录创建指定文件夹??
来源:百度文库 编辑:中科新闻网 时间:2024/05/15 10:18:02
如题
<%
dir=server.mappath("/temp")
'要创建的文件夹希望的相对或绝对路径,转化为物理路径
Set fso = CreateObject("Scripting.FileSystemObject")
if not (fso.FolderExists(dir)) then
fso.CreateFolder(dir)
response.write("temp文件夹已经建立")
end if
%>