dosdir(1) dosdir(1)
NAME
dosdir - list directories on an MS-DOS floppy disk in MS-DOS format
SYNOPSIS
dosdir a:dospath ...
DESCRIPTION
dosdir produces a DOS-format listing of the contents of one or more
directories on an MS-DOS floppy disk, plus the amount of free space
available on the floppy.
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 required directory on the MS-DOS
floppy disk.
The use of wild cards (*, ?, [ ]) is permitted.
dospath not specified:
dosdir lists the contents of the root directory on the MS-DOS
floppy.
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.
The LCALL environment variable governs the entire locale. LCALL
takes precedence over all the other environment variables which affect
internationalization.
EXAMPLES
Example 1
List the contents of the root directory on an MS-DOS floppy disk:
$ dosdir a:
GAMES <DIR> 530 1-15-86 2:58p
BIN <DIR> 1292 1-15-86 2:58p
USER <DIR> 478 1-15-86 2:58p
COUNTERS <DIR> 2249 1-15-86 2:58p
PROGRAM <DIR> 8463 1-15-86 2:58p
5 File(s) 161472 Bytes free
Page 1 Reliant UNIX 5.44 Printed 11/98
dosdir(1) dosdir(1)
Example 2
List the contents of a subdirectory on an MS-DOS floppy:
$ dosdir a:games
. <DIR> 728 1-15-86 2:58p
.. <DIR> 5153 1-15-86 2:58p
FISH 1 438 1-15-86 3:09p
YAHTZEE 1 917 1-15-86 3:09p
COUNTERS 1 2384 1-15-86 3:09p
SPIRALS 1 6725 1-15-86 3:09p
WORM 1 839 1-15-86 3:09p
ENTERPR MSD 1 1277 1-15-86 3:20p
MASTERM MSD 1 1082 1-15-86 3:20p
9 File(s) 78278 Bytes free
Example 3
List the contents of a number of directories on an MS-DOS floppy:
$ dosdir a:games a:user
/GAMES:
. <DIR> ...
.. <DIR> ...
FISH 1 ...
YAHTZEE 1 ...
COUNTERS 1 ...
SPIRALS 1 ...
WORM 1 ...
ENTERPR MSD 1 ...
MASTERM MSD 1 ...
/USER:
. <DIR> ...
.. <DIR> ...
JONES <DIR> ...
Page 2 Reliant UNIX 5.44 Printed 11/98