<%
Dim fso, newfolder
Set fso = CreateObject("Scripting.FileSystemObject")
thePath="c:\myDirPath\"
newfolder=request("folder")
if fso.folderexists (thePath&""&newfolder&"") then 'do nothing
else
fso.createfolder (thePath&""&newfolder&"")
end if
%>
---------- attention --------
you must check if the folder exists
never duplicate folders
because it will never work