IDL

FILE_MKDIR

FILE_MKDIR

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.

Examples


To create a subdirectory named moose in the current working directory:

FILE_MKDIR, 'moose'

Syntax


FILE_MKDIR, File1 [,... FileN] [, /NOEXPAND_PATH]

Arguments


FileN

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.

Keywords


NOEXPAND_PATH

Set this keyword to cause FILE_MKDIR to use the File argument exactly as specified, without applying the usual file path expansion.

Version History


5.4

Introduced

See Also


Notes


This page has no user notes yet. Be the first one!


This information is not subject to the controls of the International Traffic in Arms Regulations (ITAR) or the Export Administration Regulations (EAR). However, it may be restricted from transfer to various embargoed countries under U.S. laws and regulations.
© 2014 Exelis Visual Information Solutions