asp创建文件夹<br />
dim arrPath,strTmpPath,intRow<br />
strTmpPath = ""<br />
arrPath = Split(sServerDir, "\")<br />
Dim oFSO<br />
Set oFSO = Server.CreateObject( "Scripting.FileSystemObject" )<br />
for intRow = 0 to Ubound(arrPath)<br />
strTmpPath = strTmpPath & arrPath(intRow) & "\"<br />
if oFSO.folderExists(strTmpPath)=false then<br />
oFSO.CreateFolder(strTmpPath)<br />
end if<br />
next