The “mkdir” command
Use this command to create one or more new directories.
Include one or more instances of the “
<DIRECTORY” variable (separating
each with a whitespace), and set each to the complete path to the new directory to be
mkdir OPTION <DIRECTORY>
If directories within a named path do not exist, an error will be generated. To have
CMShell automatically create non-existent directories in a path, be sure to include the
--parents option (as discussed in
the table below).
|Command description||Command and output|
|Example creation of a single directory using
|Example creation of nested directory structure. The
<OPTION>” variable displayed in the above example can be populated with
any of the following options:
||If parent directories in the specified path do not exist, automatically generate them to accommodate (and do not generate an error).|
||Display the operation’s execution step by step.|
||Display help information for this command.|
-voptions can't be used together.