skip to main content
bool CreateDirectory (string path)
 
Creates a directory with the given path. If the directory already exists, the method will return false().
Exceptions:
OutOfMemoryException
Thrown when a low memory situation occurs.
Parameters:
path
Full pathname of the file.
Returns:
True if it succeeds, false if it fails.
Create directory C: if it does not exist.
<xsl:if test="wwfilesystem:Exists('C:\\exists')">
 <xsl:variable name = "VarCreateDirectory" select="wwfilesystem:CreateDirectory('C:\\exists')" />
</xsl:if>
Was this helpful?
Last modified date: 10/14/2020