Creates a directory.
File system
CreateDirectory ( directoryname )
Argument  | 
Description  | 
|---|---|
directoryname  | 
String for the name of the directory you want to create  | 
Integer. Returns 1 if the function succeeds and -1 if an error occurs.
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 )