Make directory path: Difference between revisions
Content added Content deleted
m (→{{header|REXX}}: elided some blank lines.) |
m (→{{header|REXX}}: added/changed comments and whitespace.) |
||
Line 300: | Line 300: | ||
Usage note: without the error messages being suppressed, the '''MKDIR''' command will issue an error message if the subdirectory (or its path) already exists. |
Usage note: without the error messages being suppressed, the '''MKDIR''' command will issue an error message if the subdirectory (or its path) already exists. |
||
<lang rexx>/*REXX program creates a directory and all its parent paths as necessary*/ |
<lang rexx>/*REXX program creates a directory (folder) and all its parent paths as necessary. */ |
||
trace off /*suppress possible warning msgs.*/ |
trace off /*suppress possible warning msgs.*/ |
||
dPath = 'path\to\dir' |
|||
' |
dPath = 'path\to\dir' /*define directory (folder) path.*/ |
||
⚫ | |||
'MKDIR' dPath "2>nul" /*alias could be used: MD dPath */ |
|||
⚫ | |||
=={{header|Ring}}== |
=={{header|Ring}}== |