Files
oldlinux-files/Minix/2.0.0/wwwman/man1/dosdir.1.html
2024-02-19 00:21:39 -05:00

72 lines
1.7 KiB
HTML

<HTML>
<HEAD>
<TITLE>dosdir(1)</TITLE>
</HEAD>
<BODY>
<H1>dosdir(1)</H1>
<HR>
<PRE>
</PRE>
<H2>NAME</H2><PRE>
dosdir - list an MS-DOS directory [IBM]
</PRE>
<H2>SYNOPSIS</H2><PRE>
<STRONG>dosdir</STRONG> [<STRONG>-lr</STRONG>] <EM>drive</EM>
</PRE>
<H2>OPTIONS</H2><PRE>
<STRONG>-l</STRONG> Long listing
<STRONG>-r</STRONG> Recursively descend and print subdirectories
</PRE>
<H2>EXAMPLES</H2><PRE>
<STRONG>dosdir</STRONG> <STRONG>-l</STRONG> <STRONG>A</STRONG> # List root directory on drive A
<STRONG>dosdir</STRONG> <STRONG>-r</STRONG> <STRONG>C</STRONG> <STRONG>x/y</STRONG> # Recursively list directory <EM>x</EM>/<EM>y</EM>
<STRONG>dosdir</STRONG> <STRONG>-r</STRONG> <STRONG>fd1</STRONG> # List device /<EM>dev</EM>/<EM>fd1</EM>
</PRE>
<H2>DESCRIPTION</H2><PRE>
<EM>Dosdir</EM> reads standard IBM PC diskettes or hard disk partitions in MS-DOS
format and lists their contents on standard output. Directory names
should contain slashes to separate components, even though MS-DOS uses
backslashes. The names <EM>dosdir</EM> , <EM>dosread</EM> , and <EM>doswrite</EM> are all links to
the same program. The program sees which function to perform by seeing
how it was called. A drive code of <EM>A</EM> causes the program to use
/<EM>dev</EM>/<EM>dosA</EM>, for example, a link to /<EM>dev</EM>/<EM>fd0</EM>. Similarly, to have hard disk
partition 1 be DOS drive C, /<EM>dev</EM>/<EM>dosC</EM> could be a link to /<EM>dev</EM>/<EM>hd1</EM>, and so
on for other drive codes. A normal device name may also be used instead
of a drive code.
</PRE>
</BODY>
</HTML>