Description
Creates a directory.
Applies to
File system
Syntax
CreateDirectory ( directoryname )
Return value
Integer.
Returns 1 if the function succeeds and -1 if an error occurs.
Examples
This example creates a new subdirectory in the current path and then makes the new subdirectory the current directory:
string ls_path="my targets" integer li_filenum CreateDirectory ( ls_path ) li_filenum = ChangeDirectory( ls_path )
See also