dosls(1) dosls(1)
NAME
dosls - list directories on an MS-DOS floppy disk in Reliant UNIX for-
mat
SYNOPSIS
dosls a:dospath ...
DESCRIPTION
dosls produces a Reliant UNIX format listing of the contents of 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 required directory on the MS-DOS
floppy disk. The use of wild cards (*, ?, [ ]) is permitted.
dospath not specified:
dosls 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:
$ dosls a:
GAMES
BIN
USER
ACCOUNTS
PROGRAMS
Page 1 Reliant UNIX 5.44 Printed 11/98
dosls(1) dosls(1)
Example 2
List the contents of a subdirectory on an MS-DOS floppy:
$ dosls a:user
JONES
Example 3
List the contents of a number of directories on an MS-DOS floppy:
$ dosls a:user a:games
/GAMES:
FISH
YAHTZEE
COUNTERS
SPIRALS
WORM
ENTERPR.MSD
MASTERM.MSD
/USER:
JONES
NOTES
If a directory contains more than 254 file names, the dosls command
may produce the error message "Error - too many filenames". In this
case, the user must limit the number of file names involved (for exam-
ple by not using "*.*").
It is also sufficient with the dosls command to simply specify the
path name in order to avoid the error message.
Page 2 Reliant UNIX 5.44 Printed 11/98