Dos 7 Commands - Dir Dir Displays a list of files and subdirectories in a directory. If sortorder is not specified, directories are listed alphabetically followed by files, also listed alphabetically. Any combination of sortorder keys can be specified and files will be sorted in the order of the keys. Wide list format. Files and directories are listed in a single column without header, summary, or any details.
Output is in lowercase.
Pauses with each screenful of information. Press any key to see the next screen. This displays attributes, date last accessed, and disk space allocated for each file, in addition to the standard information. The optional H switch displays the compression ratio of files compressed using DoubleSpace, based on the cluster size of the host drive. Displays the date as four digits rather than two.