Line | |
---|
1 | .TH DOSDIR 1
|
---|
2 | .SH NAME
|
---|
3 | dosdir \- list an MS-DOS directory [IBM]
|
---|
4 | .SH SYNOPSIS
|
---|
5 | \fBdosdir\fR [\fB\-lr\fR] \fIdrive\fR
|
---|
6 | .br
|
---|
7 | .de FL
|
---|
8 | .TP
|
---|
9 | \\fB\\$1\\fR
|
---|
10 | \\$2
|
---|
11 | ..
|
---|
12 | .de EX
|
---|
13 | .TP 20
|
---|
14 | \\fB\\$1\\fR
|
---|
15 | # \\$2
|
---|
16 | ..
|
---|
17 | .SH OPTIONS
|
---|
18 | .FL "\-l" "Long listing"
|
---|
19 | .FL "\-r" "Recursively descend and print subdirectories"
|
---|
20 | .SH EXAMPLES
|
---|
21 | .EX "dosdir \-l A" "List root directory on drive A"
|
---|
22 | .EX "dosdir \-r C x/y" "Recursively list directory \fIx/y\fR"
|
---|
23 | .EX "dosdir \-r fd1" "List device \fI/dev/fd1\fR"
|
---|
24 | .SH DESCRIPTION
|
---|
25 | .PP
|
---|
26 | .I Dosdir
|
---|
27 | reads standard IBM PC diskettes or hard disk partitions in
|
---|
28 | \s-2MS-DOS\s+2 format and lists their contents on standard output.
|
---|
29 | Directory names should contain slashes to separate components, even though
|
---|
30 | \s-2MS-DOS\s+2 uses backslashes.
|
---|
31 | The names
|
---|
32 | .I dosdir ,
|
---|
33 | .I dosread ,
|
---|
34 | and
|
---|
35 | .I doswrite
|
---|
36 | are all links to the same program.
|
---|
37 | The program sees which function to perform by seeing how it was called.
|
---|
38 | A drive code of
|
---|
39 | .I A
|
---|
40 | causes the program to use \fI/dev/dosA\fR, for example,
|
---|
41 | a link to \fI/dev/fd0\fR.
|
---|
42 | Similarly, to have hard disk partition 1 be DOS drive C, \fI/dev/dosC\fR
|
---|
43 | could be a link to \fI/dev/hd1\fR, and so on for other drive codes.
|
---|
44 | A normal device name may also be used instead of a drive code.
|
---|
Note:
See
TracBrowser
for help on using the repository browser.