The FILE_MKDIR procedure creates a new directory, or directories, with the default access permissions for the current process.
Note: Use the FILE_CHMOD procedure to alter access permissions.
If a specified directory has non-existent parent directories, FILE_MKDIR automatically creates all the intermediate directories as well.
FILE_MKDIR, File1 [,... FileN] [, /NOEXPAND_PATH]
A scalar or array of directory names to be created, one name per string element. Directories must be specified in the native syntax for the current operating system.
Set this keyword to cause FILE_MKDIR to use the File argument exactly as specified, without applying the usual file path expansion.
To create a subdirectory named moose in the current working directory:
FILE_MKDIR, 'moose'
5.4 |
Introduced |