FileOps.$createdir()

Function group Execute on client Platform(s)
FileOps NO All

Syntax

FileOps.$createdir(cPath)

Description

Creates a directory with the pathname cPath. Pathnames can be over 255 characters, which was the limit in Studio 8.0.1 or earlier.

With the exception of the last directory, all directories specified in the cPath parameter must already be present.

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