home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
assemblr
/
library
/
sampler0
/
sdl32.doc
< prev
next >
Wrap
Text File
|
1988-08-16
|
2KB
|
56 lines
SORTED DIRECTORY LIST 3.2
SDL [d:][path][filename[.ext]][/options]
Options: General
E erase screen
P pause when screen full
W 4 column format (2 if width 40)
Sort options (sort on filename.ext is the default)
N do not sort entries
S sort by file size
D sort by date and time
X sort by file type (ext)
Sub-directories
T list sub-directory names
F use with T to list file names by directory
I use with TF to indent file lists (not supported on
width 40 screens)
A use with T to list all file names together
Default: *.* sorted by name.ext, 2 cols wide (1 on width 40 screen), no
screen erase or pause at end of page, using current directory.
Notes:
1. Path specifications:
a. paths must end with \.
b. specifying a leading \ starts the path search at the root directory.
No leading \ will start the path at the current directory.
c. not specifying a path starts the operation at the current directory.
2. The space used by sub-directories is not accounted for.
3. Directory listings do not include the '.' or '..' entries.
4. The specified filename.ext may include ? and/or *.
Output formats: Width 80 - 2 or 4 columns (option TFI - 1 or 2 columns)
Width 40 - 1 or 2 columns
Filename in listing may be preceeded by one of the following char.:
r - read-only file
h - hidden file
s - system file
\ - sub-directory name
If a file has more than 1 attribute, only the last is shown.
Written by W. C. Bodycomb
Version 1.0 - original version, runs under DOS 1.0 and 1.1
Version 2.0 - support for DOS 2.0, runs under DOS 1.0, 1.1, 2.0
Version 3.0 - support for paths and sub-directories, runs under
DOS 2.0.
Version 3.1 - Sort in descending order for date and file size
options. Make file extension ".*" by default. Fix MASM 3 errors.
Reversed test for 80 column display because some MS-DOS systems do
not use the fixed address that PC-DOS does. Print the directory
name instead of "<curr>". Ted Shapin. Nov. 21, 1985.
Version 3.2 - DOS 4.0 supports disks of more than 32 megabytes so
sector count was causing a divide overflow. Aug. 24, 1988.