




CCCooommmmmmaaannnddd:::   dddooosssdddiiirrr --- llliiisssttt aaannn MMMSSS-DDDOOOSSS dddiiirrreeeccctttooorrryyy [[[IIIBBBMMM]]]
SSSyyynnntttaaaxxx:::    dddooosssdddiiirrr [---lllrrr] _d_r_i_v_e
FFFlllaaagggsss:::     ---lll  Long listing
           ---rrr  Recursively descend and print subdirectories
EEExxxaaammmpppllleeesss:::  dosdir -l A              # List root directory on drive A
           dosdir -r C x/y          # Recursively list directory _x/_y
           dosdir -r fd1            # List device /_d_e_v/_f_d_1

     _D_o_s_d_i_r 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 _d_o_s_d_i_r, _d_o_s_r_e_a_d, and _d_o_s_w_r_i_t_e are all links
to the same program.  The program sees  which  function  to  perform  by
seeing  how  it was called.  A drive code of _A causes the program to use
/_d_e_v/_d_o_s_A, for example, a link to /_d_e_v/_f_d_0.   Similarly,  to  have  hard
disk  partition 1 be DOS drive C, /_d_e_v/_d_o_s_C could be a link to /_d_e_v/_h_d_1,
and so on for other drive codes.  A normal device name may also be  used
instead of a drive code.








































                                                                        

