home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 6 File
/
06-File.zip
/
D53.ZIP
/
D.DOC
< prev
next >
Wrap
Text File
|
1990-12-12
|
11KB
|
281 lines
D.EXE - Version 5.3
An Alternative Directory Lister
Copyright 1986 - 1990 FreeLance Programming
All rights reserved
Usage: D[.EXE] [FILESPEC] [/F] [/M] [/W] [/N] [/E] [/S] [/D] [/T]
Where:
FILESPEC specifies the files to be searched for, and may include
drive and/or directory information. Wildcards are permitted
only in the filename/extension portion(s) of the specification.
In general, anything that the DIR command accepts, so should D.
If omitted, the default is to search for *.* in the current dir.
/F - This switch controls screen flicker. If you experience "snow" on
your display while D is running, you can use this switch to eliminate
it. If snow suppression has been made the default (via the setup
utility), use of this switch will turn OFF the suppression feature.
This switch is valid ONLY for the DOS-only version of D.
/M - Uses monochrome attributes when displaying rather than
color attributes. Use of this switch will override the
default read from your system board switch settings. This
switch changes the actual colors only; the address of the
screen memory is determined by the operating system. If the
setup utility has been used to make this the default, use of
this switch will cause the color attributes to be used.
/W - Displays files in 1 column, including date, time, and attributes.
The default is 4-column mode (name/size only). Note that ALT-W
can be used to toggle displayed listings between these two modes.
If the setup utility has been used to make this the default, use
of this switch will cause the display to revert to 4-column mode.
/N - Sort files by file name
/E - Sort files by extension
/S - Sort files by size
/D - Sort files by date
/T - Sort files by time
The order in which a sort switch appears determines its place in
the sort order. Sort switches should be specified in descending
order of priority. The default is to display the files in unsorted
order. If the same switch is specified more than once, only the
first instance of that switch is considered. If the setup utility
has been used to specify a default sort order, use of any of these
switches will cause that default order to be ignored. Note that
if a default sort order IS specified via the setup utility, there
is no way to revert to the unsorted order (except to change the
default with the setup utility).
D.EXE - Version 5.3
An Alternative Directory Lister
- 2 -
About D.EXE:
When executed, D will display the indicated volume name, the (resolved)
file specification being searched for, all matching files/directories
(including HIDDEN, SYSTEM, and READ-ONLY files), and some statistics on
the space in-use and available on the indicated drive.
At this point, you can use PgUp or PgDn to scroll thru multi-page displays,
if there are more files than will fit on a single page. (The current page #
and the total # of pages is displayed in brackets in the lower left corner
of the screen.) Pressing ESC (or Q) will exit to DOS. Pressing ALT-W will
toggle the screen between the 1-column and 4-column display versions.
In addition to the current and total page #s, the totals line at the bottom
of the screen contains (in order) the # of matching files found, the # of
matching sub-directories found, the space used by all matching files, the
total space in use on the indicated drive, and the total space remaining on
the indicated drive. If the total # of files or sub-directories is zero,
the appropriate total field is omitted from the display. Note that the # of
sub-directories found does NOT include the "." and ".." entries, if present.
Due to the way DOS and OS/2 allocate files, each file may contain "wasted"
space. When run under OS/2, the number display for "total space used by
all matching files" accounts for this "wasted" space, and thus reflects the
actual amount of space in use. Under DOS, this total reflects only the sum
of the file sizes shown. In either case, the total amount of space left on
the drive is accurate.
When displaying files larger than 999,999 bytes, D will not display the file
size. Instead, ****** will be displayed in its place. Also, the totals at
the bottom of the screen may omit high-order digits if the space on the drive
exceeds 999,999,999 bytes.
About SETUP.EXE:
Usage is: SETUP[.EXE] DIRNAME.EXE
Where: DIRNAME.EXE is the name of the executable file to change.
SETUP.EXE is capable of modifying any of the three versions of D. However,
it will only execute under DOS; no OS/2 version of this utility is provided.
D.EXE - Version 5.3
An Alternative Directory Lister
- 3 -
D is a shareware product from FreeLance Programming. If you find this
program to be useful, you are STRONGLY URGED to register your copy. To
register, send a contribution ($5 suggested) to the following address:
FreeLance Programming
Post Office Box 726
Washington, DC 20044-0726
Please make checks payable to: FreeLance Programming
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
For this and other fine FreeLance Programming products, call:
The Wizard's Workshop
(301) - 322 - 8678
(301) - 322 - 2115 ($$$)
24 hours/day 300/1200/2400 8/N/1 120+ Megabytes
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Change Log:
Version Comments / Changes / Etc
------- --------------------------------------------------------------
1.0 Initial Release. D was designed as an alternative directory
listing utility, providing a FAST display of file names,
extensions and sizes, and displaying more information about
disk space usage.
2.0 This really should have been a 1.1 release, as it only
addressed correcting the 'Filespec: ' portion of the display.
This release had a nasty bug in it, but since I use this
program almost exclusively, it was caught and stomped within
24 hours.
2.1 This release fixed the bug in version 2.0.
D.EXE - Version 5.3
An Alternative Directory Lister
- 4 -
Change Log - Continued:
Version Comments / Changes / Etc
------- --------------------------------------------------------------
3.0 This really was a major release. New features added were:
- A bug causing this program not to work with mono display
adapters has (finally) been stomped.
- Displayed files can now be SORTED by any combination
of file characteristics (modifiable default is unsorted)
- READ-ONLY files now cause the 1st char of the file name
to be hilited.
- HIDDEN files cause the entire file name to be hilited
(unless the file is also READ-ONLY, in which case both
attributes are displayed (in different colors).
- SYSTEM files cause the file SIZE to be hilited.
- ALL colors (there are currently 13) and many default
options can be easily changed with a simple DEBUG script.
- PgUp/PgDn to swap pages of multiple-page listings
(Esc or Q to Exit. Not used if there is only 1 page.)
- Several other options were introduced.
3.1 Two known bugs were killed in this release. They are:
- Not handling a variety of multi-dir path requests, such
as "D \DIRx\DIRy" (though \DIRx\DIRy\ did & does work).
- Only displaying page 1 of 2 if there were exactly 84
files in the dir being displayed (regardless of sub-dirs).
- Also in this release, PgUp/PgDn 'rollover' was implemented.
PgUp from the 1st page of any listing will go to the last
page, and vice-versa.
3.2 A bug in the PgUp/PgDn rollover was fixed. This was causing
divide overflows & system lock-ups under certain conditions.
D.EXE - Version 5.3
An Alternative Directory Lister
- 5 -
Change Log - Continued:
Version Comments / Changes / Etc
------- --------------------------------------------------------------
3.3 The input parsing routines were changed to prevent the current
directory from being displayed when an invalid directory was
requested. D now recognizes invalid drive and invalid dir
requests, with appropriate error messages.
4.0 Added OS/2 compatibility. D now runs under OS/2, the OS/2 Dos
Box, or any Dos 3.x environment. D now always waits for a
keystroke before exiting. Use ESC to exit, or ALT-W to switch
between the "wide" (4 column) and "narrow" (1 column) displays.
The "wide" display mode was changed to a single column in order
to include a display of the file attributes (if any).
5.0 The DOS-only version of D (formerly available only as version 3.3)
was upgraded for compatibility with the 4.0 release. In addition,
several minor bug fixes were implemented to both versions; mostly
in the area of resolving entered filespecs. Also, the totals on
the totals line were increased from a maximum of 99,999,999 bytes
to 999,999,999 bytes. Finally, a setup program was added to make
custom configuration easier.
5.1 A minor bug was fixed in the OS/2 version(s). When using PgUp to
go to a page which had only 1 file to display, the full page prior
to he one containing the single file was actually being displayed,
and the current page number would be incorrect. The DOS-only
version handled this situation correctly.
5.2 Another minor bug was fixed (in both versions). If a filespec was
entered with both dir and filename info (as in: C:\UTILS\*.COM),
the filename info was ignored, and *.* used in its place (as in:
C:\UTILS\*.*).
5.3 Yet another minor bug was fixed (in the DOS version). If there was
insufficient memory to execute, D would display an error message,
and promptly crash while trying to exit.