MMMMSSSSDDDDOOOOSSSSLLLLSSSS((((1111)))) HHHHPPPP----UUUUXXXX 2222....1111 MMMMSSSSDDDDOOOOSSSSLLLLSSSS((((1111)))) NNNNAAAAMMMMEEEE msdosls - list directory of MS-DOS media SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS mmmmssssddddoooossssllllssss [----hhhhllllrrrr] <<<>>>[::::<<<>>>] HHHHPPPP----UUUUXXXX CCCCOOOOMMMMPPPPAAAATTTTIIIIBBBBIIIILLLLIIIITTTTYYYY Origin: User Contributed DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN _M_s_d_o_s_l_s lists the directory of an MS-DOS medium. If a is specified, it lists directory information about that file. If is a subdirectory, _m_s_d_o_s_l_s lists the subdirectory. If is not specified, _m_s_d_o_s_l_s lists the root directory. _M_s_d_o_s_l_s supports the hierarchical MS-DOS file structure, using "/" as the path separation character. _M_s_d_o_s_l_s does not support wild-carding filenames. The options are: ----hhhh causes _m_s_d_o_s_l_s to include hidden files in the directory listing. Not specifying this flag will exclude hidden files from a directory listing, and will prevent _m_s_d_o_s_l_s from finding a hidden . ----llll results in a long directory listing. This listing includes the filename, date and time of creation, file size (in bytes) and starting cluster number (in parentheses). (Note: "cluster" is the MS-DOS analogue of the UN*X "block"; understanding it is not necessary for normal usage.) A short directory listing gives only filenames. Subdirectories on the long listing are indicated with ""; on the short listing with a "/" trailing the filename. ----rrrr results in a recursive directory listing. All subdirectories within the directory being listed are also listed, and the process continues recursively. EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS msdosls -l /dev/rfd.0:xyzzy.prn lists directory information about the file "XYZZY.PRN" in the root directory on the MS-DOS disk in drive /dev/rfd.0. msdosls -lrh /dev/r9133.fd recursively lists the root directory of the MS-DOS disk in drive /dev/r9133.fd. Since it includes the "-h" Hewlett-Packard - 1 - (printed 11/6/85) MMMMSSSSDDDDOOOOSSSSLLLLSSSS((((1111)))) HHHHPPPP----UUUUXXXX 2222....1111 MMMMSSSSDDDDOOOOSSSSLLLLSSSS((((1111)))) option, this example will produce a directory listing for every file on the disk. msdosls /dev/rfd.1:mydir/myfile gives a short directory listing of "MYFILE" in sub- directory "MYDIR". SSSSEEEEEEEE AAAALLLLSSSSOOOO msdoscp(1), msdosinfo(1), msdosmkdir(1), msdosrename(1), msdosrm(1). NNNNOOOOTTTTEEEE MS-DOS is a registered trademark of Microsoft, Inc. Hewlett-Packard - 2 - (printed 11/6/85)