dosmkdir(1) dosmkdir(1)
NAME
dosmkdir - create directories on an MS-DOS floppy disk
SYNOPSIS
dosmkdir a:dospath ...
DESCRIPTION
dosmkdir creates one or more directories on an MS-DOS floppy disk.
a:
A: As in DOS conventions, a: or A: designates the disk drive via
which the MS-DOS floppy disk is addressed. This string must be
prepended to each DOS path name. a: or A: addresses the first
floppy disk drive. If a second drive exists, it may be addressed
as b: or B:.
dospath
Specifies the path name of the new directory in the MS-DOS file
system.
To ensure that data in MS-DOS files can be read on a DOS-based
system, special conventions must be observed when choosing names
for MS-DOS directories. Directory names with a basic name of more
than 8 characters and a suffix of more than 3 characters are
truncated accordingly (i.e. to 8 and 3 characters, respectively).
In other words, the name of an MS-DOS directory may consist of a
basename of up to
8 characters and an optional suffix of up to 3 characters, with a
period between the basename and the suffix. Unlike Reliant UNIX,
MS-DOS does not allow the use of all special characters.
Appropriate error messages are issued in the event of errors.
Furthermore, DOS does not distinguish between uppercase and
lowercase letters. Thus, if you specify names in lowercase, for
example, they will be converted to uppercase on the floppy disk,
and will appear in uppercase letters the next time the floppy is
read.
dosmkdir generates the following links for each directory:
"." for the directory itself, and
".." for its parent directory.
LOCALE
The LCMESSAGES environment variable governs the language in which
message texts are displayed. If LCMESSAGES is undefined or is defined
as the null string, it defaults to the value of LANG. If LANG is like-
wise undefined or null, the system acts as if it were not internation-
alized.
Page 1 Reliant UNIX 5.44 Printed 11/98
dosmkdir(1) dosmkdir(1)
The LCALL environment variable governs the entire locale. LCALL
takes precedence over all the other environment variables which affect
internationalization.
EXAMPLES
Example 1
The directory "address" is to be created:
$ dosmkdir a:address
$ dosls a:
GAMES
BIN
USER
ACCOUNTS
PROGRAMS
ADDRESS
dosls shows that the dosmkdir command has been executed.
Example 2
Create a number of directories:
Further subdirectories are now to be set up under the directory
"ADDRESS" created in Example 1. These directories are to be named
"MUNICH" and BAVARIA". In addition, the directory "ORDERS" is to be
created in the directory "USER/MAIER".
Enter the following command:
$ dosmkdir a:address/munich a:address/bavaria a:user/maier/orders
$ dosdir a:address a:user/maier
/ADDRESS:
. <DIR>
.. <DIR>
MUNICH <DIR>
BAVARIA <DIR>
/USER/MAIER:
. <DIR>
.. <DIR>
ORDERS <DIR>
dosdir shows that the dosmkdir command has been executed, and that the
new directories have been created.
Page 2 Reliant UNIX 5.44 Printed 11/98