home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 6 File
/
06-File.zip
/
OS2D40.ZIP
/
D.DOC
next >
Wrap
Text File
|
1988-10-18
|
8KB
|
183 lines
D.EXE - Version 4.0
An Alternative Directory Lister
(Now for OS/2!)
Copyright 1987, 1988 FreeLance Programming
All rights reserved
Usage: D FILENAME /M /W /N /E /S /D /T
Where FILENAME may be any valid Dos 2.x+ file name (drive:dir\name.ext)
Note that both the file specification and all switches are optional.
Defaults are:
FILENAME: *.* in current directory
SORT: None
MONITOR: Based on hardware switch settings
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
D is a user-support program that has seen many hours of work. It is
currently a 1600+ line ASM program, and I have ideas for at least one
(probably two) more major revision(s). If you like this program, and
especially if you are interested in the future upgrades, please help
defray the cost of its development by sending $1 to:
FreeLance Programming
PO Box 726
Washington, Dc 20044-0726
Please be honest about payment. If you use it, pay for it. If you
don't use it, then feel free to pass it around and delete your copy.
Registered users will receive notice of all upgrades and such support
as I can offer.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
About the Program:
1) Specifying the files to be displayed :
D accepts ALL wild cards (?, *, . and ..). Generally, anything
that is a valid file specification for the Dos DIR command is valid
as the FILENAME on the execution line (and sometimes more besides).
2) Scrolling thru the listing :
As of this rev, D always displays the current page # and maximum #
of pages in the lower-left corner, and waits for keyboard input.
Pressing PgUp or PgDn will scroll thru multi-page listings; ESC or
Q will exit to Dos, and ALT-W will toggle between the two display
modes (1 column or 4 column).
3) The statistics line :
The bottom line of each screen contains the following information:
- The current page # & total # of pages
- The total # of files in this directory
- The total # of SUB-dirs in this directory
(Does NOT include the . and .. sub-directory entries)
- The total amount of space used by all files in this directory
(Does NOT include space used by sub-directories)
- The total amount of space used by all files on the disk
- The total amount of free space left on the disk
Note that under OS/2, all "space used" totals are rounded up to the
nearest allocation size, to reflect the space the files are actually
taking up. Under Dos, these totals reflect the actual sizes of the
files, but do not account for 'wasted' space.
4) Command switches :
Switches, if used, must follow the FILENAME (if any), and must
be seperated by at least one space. A complete list of command
line switches and their explanations appears below:
/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.
/W - Displays files in 1 column, including date, time, and attrs.
The default is 4 colum mode (name/size only). Note that ALT-W
can be used to toggle displayed listings between these two modes.
/N - Causes sorting by file name
/E - " " extension
/S - " " size
/D - " " date
/T - " " time
┌──────────────────────────────────────────────────────────┐
│ │
│ Sort Switches: │
│ The order in which a switch appears determines its place │
│ in the sort order. Any, All, or None of the sort options│
│ may be selected. The default is UNSORTED. Attempts to │
│ select the same sort option more than once per run will │
│ be ignored (ie: "D /N /E /N" is the same as "D /N /E". │
└──────────────────────────────────────────────────────────┘
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
For this and other fine FreeLance Programming products, call:
The Wizard's Workshop
(301) - 322 - 8678
(301) - 322 - 2115 (Contributors only)
24 hours/day 300/1200/2400 8/N/1 90+ Megabytes
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
D.EXE
(Change Log)
Version Comments / Changes / Etc
------- --------------------------------------------------------------
1.0 Inital 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.
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.
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).