home *** CD-ROM | disk | FTP | other *** search
-
- SDIR - Sorted DIRectory lister, by Steve Clarke.
-
- This program was written to complement my SD utility, and is yet another
- version of that same program that can be found in every Public Domain's
- software catalogue. I have taken all the features of a these and put them into
- the one program. One particular feature is that of the /B switch which allows
- the file sizes to be displayed in blocks, similar to CP/M's STAT command,
- usefull if you frequently switch between DOS and CP/M 86.
-
- SDIR [d:][path][filename[.ext]] [options]
- [filespec] same as for DIR command
-
- [options] /A - Alphabetic order.
- /B - Display size in blocks of 1024 bytes
- /C - In a single column.
- /D - Sort by date/time.
- /H - List hidden / system files.
- /N - Do not sort, original order.
- /S - Sort by size.
- /X - Sort by extension.
-
-
- Default = *.* sorted by name.ext.
-
- NOTE: all switches can be combined with other switches to produce
- different effects.
- eg.
- SDIR A: /S /B /H
-
- Would display the contents of the disk in drive a: in size order,
- showing the sizes of files in default blocks of 1024 bytes, and including in
- the display any hidden / system files that happen to be on the disk.
-
- SDIR C: /A /B=512
-
- Would display the contents of the disk in drive B: in alphabetic order,
- showing the sizes of files in blocks of 512 bytes.
-
- The column 'ATR' will display up to 4 attribute codes, as follows:
-
- A - Archive bit is off (file has been archived)
- H - Hidden bit is on (file is hidden)
- R - Read-only bit is on (file is read-only)
- S - System bit is on (file is a system file)
-