.TH dosls "" "" Command
.PC "List files on an \*(MD file system"
\fBdosls \fB[\-v] \fIdevice\fB:[/\fIdirectory\fB/][\fIfile\^\fB]\fR
.PP
.HS
.SH Option:
.IC \fB\-v\fR
Print output in long format, analogous to \fBls \-l\fR.
.HE
.II "MS-DOS^list contents"
.B dosls
lists all files in
.I directory
on an \*(MD file system.
.I device
names the floppy-disk or hard-disk device that holds the file system to be
modified, e.g.,
.BR /dev/fha0 .
You can also build a file of aliases so that
you can access the drives as
.BR a ,
.BR b ,
etc.
For details, see the Lexicon entry for
.BR doscp ,
which explains how to set up defaults for the \fBdos\fR family of commands.
.PP
The option
.B \-v
tells
.B dosls
to print its output in a long format, analogous to what the command
.B "ls \-l"
prints.
.SH Example
The following displays the contents of directory
.BR src .
It assumes that you have defined
.B c
as a default for a device on which you have set an \*(MD file system:
.DM
	dosls -v c:/src
.DE
.SH Files
\fB/etc/default/msdos\fR \(em Setup file
.SH "See Also"
.Xr "commands," commands
.Xr "dos," dos
.Xr "dosdir," dosdir
.Xr ls ls
.SH Notes
.B dosls
does not understand compressed \*(MD file systems created by programs such as
.B Stacker
or \*(MD 6.0
.BR dblspace .
