.FILE MAKE DIR
This subroutine is called to create a directory in the filesystem.
Usage:
PASS <error_message> FIELD SHARE? Y
PASS <directory_name> FIELD SHARE? N
GOSUB --- .FILE MAKE DIR
* check for errors
IF --- .FILE MAKE DIR NE
Description:
This subroutine is called to create a directory in the filesystem. Both parameters are required, the subroutine will CANCEL if they are not received.
<error_message> contains additional error information if the command fails (Required). Must be PASSed with Share "Y".
<directory_name> is the directory name to create (Required).
If .FILE MAKE DIR is not blank, you can check <error_message> for more information on why the command failed.
This command is run by the appx engine, not by 'shelling out' to the O/S level, therefore the directory will have the permissions of the engine. On Linux/Unix systems, if the 'setuid' bit is set, then those will be the permissions of user 'appx'. If you do not have the 'setuid' bit set, then the those will be the permissions of whatever user you have the engine configured to impersonate. On Windows the permissions will be that of the current user.
Comments:
Read what other users have said about this page or add your own comments.
--
PeteBrower - 2011-08-12