DirectoryCreate Procedure |
Version 6 |
Creates a directory, including all intervening directories if necessary.
[ bRet = ] DirectoryCreate ( sDirPath )
The DirectoryCreate procedure syntax has the following parts:
|
Name |
Type |
Description |
|
bRet |
Bool |
True if successful; False otherwise |
|
sDirPath |
Val BString |
Name of directory to create |
If the path already exits, it returns true.
The following example creates the backup directory:
! create backup directory if necessary
if not DirectoryCreate("c:\\logfiles\\TestExec\\Backup") then return