Home Page The Club Computers News Links Glossary EYAWTK
Before Amiga Background ICS OCS ECS AGA ??? AmigaOne
U-Boot SLB Linux Amiga OS Dual Boot Motherboards Peripherals Other
Initialisation Installation OS4 Updates About OS4 File Systems Networking Printing Other
Introduction File System Workbench Preferences Commands Error Msgs Miscellaneous

AmigaOS 4.0 - About OS4 - Commands

Purpose: Creates a new directory.
Format: MAKEDIR {<directory name>}
MAKEDIR creates one (or several) empty directory(s) with the name(s) you specify using the <directory name> argument. By default, the command works within only one directory level at a time, so any directories on the given path(s) must already exist.

When using the ALL option, directories missing on the path(s) are automatically created, if necessary.

The command fails if a directory or a file of the same name already exists in the directory above it in the hierarchy. To avoid this, use the FORCE option which makes the command ignore directories which already exist.

MAKEDIR does not create a drawer icon for the new directory.

Example 1:

3.OS4:> MAKEDIR Tests creates a directory called Tests in the current directory.

Example 2:

3.OS4:> MAKEDIR DF1:Xyz creates a directory Xyz in the root directory of the disk in DF1:.

Example 3:

3.OS4:> MAKEDIR Work:Abc/Xyz ALL creates a directory Abc in the root directory of a volume called Work: if it doesn't exist yet, then creates a directory Xyz in Work:Abc/.

Example 4:

3.OS4:> CD DATA:Applications
3.OS4:> MAKEDIR Documents Payables Orders
creates three directories called Documents, Payables, and Orders in an existing directory called Applications on volume DATA.

Return to Commands Selection

Disclaimer: Amiga Auckland have prepared the above Information for the use of its members based on our experiences and as such is subject to revision at any time. Amiga Auckland cannot guarantee any of the Information and cannot be held accountable for any issues that may result from using it.

Copyright 2006 Amiga Auckland Inc. All rights reserved.
Revised: February 9, 2006.