FileOps.$createdir()

Function groupExecute on clientPlatform(s)
FileOpsNOAll

Syntax

FileOps.$createdir(cPath[,bCreatePath=kFalse])

Description

Creates a directory with the pathname cPath. If bCreatePath is true, all non-existing directories specified in the cPath parameter will be created.

The function returns an error code, or zero if successful: see the FileOps function error codes.

Example

Do
 
FileOps
.
$createdir
(
'c:\omnis\examples\extcomp\clock'
)
 
Returns 
lError

# creates the 'clock' folder assuming c:\omnis\examples\extcomp is a valid path