MkDir( )

Microsoft Visual FoxPro Foxtools

MkDir( )

Creates a directory.

Syntax

MkDir(cPath)

cPath

Specifies the path to create.

Return Type

Numeric

Remarks

This function won't check for the valid length and format of a directory string. The return values are as follows:

0 success
1 no success
6 directory already exists

This function is only available in Foxtools version 1.01 or later.