July 2000
Intermediate to advanced
492 pages
14h 53m
English
CreateFolder (FileSystemObject Object) —
fsoObj
.CreateFolder(
strFolderName
)
Creates a folder in a specified location.
strFolderName
A string value that represents the full physical path of the folder you want to create
<%
' Dimension local variables.
Dim fsoObject ' FileSystemObject
' Instantiate the FileSystemObject variable.
Set fsoObject = Server.CreateObject( _
"Scripting.FileSystemObject")
' Create a new directory.
fsoObject.CreateFolder("e:\storage\newdir")
. . . [additional code]
%>If you attempt to create a folder that already exists, an error will be raised.
Read now
Unlock full access