Difference between revisions of "Shell Commands/MakeDir"

From MorphOS Library

< Shell Commands

(Created page with "'''MakeDir''' - Creates a Directory NAME/M <nowiki> NAME - name of the directories you wish to create</nowiki> The command works within only one directory level at a time, s...")
 
 
Line 1: Line 1:
 
'''MakeDir''' - Creates a Directory
 
'''MakeDir''' - Creates a Directory
  
NAME/M
+
NAME/M, ALL/S
 
  <nowiki>
 
  <nowiki>
NAME - name of the directories you wish to create</nowiki>
+
NAME - name of the directories you wish to create
The command works within only one directory level at a time,
+
ALL  - creates an entire directory tree if directories on the given path don't exist</nowiki>
so any directories on the given paths must already exist.
 
 
The command fails if a directory or a file of the same name already exists
 
The command fails if a directory or a file of the same name already exists
 
in the directory in which you attempt to create a new one.
 
in the directory in which you attempt to create a new one.
  
 
NOTE: Makedir does not create a drawer icon for the new directory.
 
NOTE: Makedir does not create a drawer icon for the new directory.

Latest revision as of 16:37, 4 February 2016

MakeDir - Creates a Directory

NAME/M, ALL/S

NAME - name of the directories you wish to create
ALL  - creates an entire directory tree if directories on the given path don't exist

The command fails if a directory or a file of the same name already exists in the directory in which you attempt to create a new one.

NOTE: Makedir does not create a drawer icon for the new directory.