home *** CD-ROM | disk | FTP | other *** search
- ******************************************************************************
- * *
- * D e l u x e D i r *
- * *
- * Version 2.31 *
- * *
- ******************************************************************************
-
-
- Table of contents:
- ------------------
-
- 1. Program description
- 2. Validation
- 3. Features
- 4. Installation
- 5. Program use and options
- 6. Comments
-
- Appendix A: Version notes and additions
- Appendix B: Contacting the author
-
-
- 1. Program description:
- -----------------------
-
- Deluxe Dir (DDIR) is an experimental Pascal program which turned out to
- be quite a useful directory-lister program. The main advantage of DDIR
- is that it lists the directory files in three columns, instead of the one
- column used by the 'dir' command, yet showing the file sizes, which are
- usually quite important and are not shown by the 'dir /w' command.
- In addition, DDIR adds a few options which are described below, making
- the directory screen appear more clearly and efficiently.
-
-
- 2. Validation:
- --------------
-
- In order to ensure that the file has not been altered, I'm including the
- info that would be provided by McAfee's VALIDATE program:
-
- File size: 12,246
- File date: 6-10-1992
-
- CRC check method #1: C E 9 3
- CRC check method #2: 1 6 0 5
-
-
- 3. Features:
- ------------
-
- * Directory is listed in three columns separated by two vertical lines.
-
- * Executable files are highlighted.
-
- * Hidden and system files are shown along with the regular files.
-
- * The directory can be sorted primarily by filename, extension or size,
- and the files are displayed in vertical order.
-
- * Hebrew filenames can be shown in Hebrew characters.
-
- * File sizes can be shown in kilobytes.
-
- * The '.' and '..' directory files are ignored.
-
- * The directory files are pushed to the beginning or end of the list.
-
- * The file sizes contain commas.
-
- * Zero length files are made to blink.
-
- * DDIR contains a detailed option which shows the file attributes,
- dates, times and the size of the drive being listed.
-
- * The number of files in the subdirectory, the size of the subdirectory
- and the number of bytes free are displayed at the end of the directory.
-
-
- 4. Installation:
- ----------------
-
- In order for DDIR to be able to run from any path, the program has to be
- present at one of DOS's search paths. Therefore, it is recommended to add
- the path of the file DDIR.EXE to the PATH variable, after copying it to the
- desired path.
-
- Example:
-
- Let's say that DDIR is being copied from a floppy in drive A: to a
- directory called 'utils' in drive C:. The copying command should be:
-
- >copy a:ddir.exe c:\utils
-
- and the line:
-
- 'path c:\utils'
-
- should be added to the autoexec.bat file on the root directory.
-
- It is also recommended for fixed-disk users to use this program along with
- an alias program like DOSEDIT, and give it an alias like '-'.
-
-
- 5. Program use and options:
- ---------------------------
-
- The command line syntax for DDIR is:
-
- >ddir [options] [ [drive] [path] [wildcards] ] [options]
-
- All of the parameters of DDIR are optional, and when a parameter is not
- specified, DDIR automatically chooses the default option. All the options
- of DDIR are preceded with a slash. The default drive and path for DDIR are
- the current drive and the current path. Its default wildcards are the same
- as DOS's default wildcards (*.*).
-
- These are the options of DDIR:
-
- /C - This option allows the omission of commas in the file sizes and
- the bottom statistics. It is mainly made for users who need faster
- speed.
-
- /D - The detailed option no longer shows the files in three columns, but
- in one. However, it adds the files' attributes, their dates, and
- the size of the drive being listed.
-
- The files' attributes are:
- H - hidden; R - read-only; S - system; A - archive
-
- /E - Sorts the files primarily by their extension. Please note that the
- default option sorts the files primarily by name, but sorts their
- extension too. This option sorts files of the same extension by
- their name. (Cannot be used with /Z)
-
- /H - This option was made for Israeli users who use Einstein
- HebrewWriter or any other program that makes pseudo Hebrew
- filenames using the IBM extended charcter set. When this switch
- is active, the program will translate these characters to Hebrew
- characters. (Cannot be used with /L)
-
- /K - Shows the file sizes in kilobytes instead of bytes. (The size in
- bytes is always rounded upwards). This option helps figure out the
- proportions between sizes of files, and see how much space a
- certain file occupies. (Usually, a file occupies a multiple of
- 2Kb's on fixed disks, and a multiple of 1Kb on floppy disks).
-
- /L - Displays files in lower case characters. (Cannot be used with /H)
-
- /P - Pushes directory files to the end of the list: Sometimes it is more
- convenient to see the directories while typing a command, by moving
- them to the end of a long list of files. This option is active only
- when the file sorting is active.
-
- /R - Reverses the order of sort to descending sort. It is especially
- useful for size sort.
-
- /S - Skips sorting of files and shows them by DOS order. This option is
- needed only when greater speed is desired, or when the actual order
- of the files of a certain directory needs to be shown.
-
- /T - This option disables the text mode changes at the beginning and end
- of program execution. It is needed only for EGA/VGA users who use
- special TSR program drivers or unique pallettes.
-
- /V - Enables snow checking for old video adapters: Some old CGA's and
- other graphics adaptors produce an effect called 'snow' when
- characters are output directly to the screen. If such a 'snowing'
- effect occurs, this option should be specified.
-
- /W - Swaps the position of the day and the month in the detailed
- option's file dates for country compatibility.
-
- /Z - Sorts files by their size from small to large. (Cannot be used
- with /E)
-
- /? - This option shows a title screen an a summary of the allowed
- options.
-
-
- Abortion: DDIR can be terminated whenever it is waiting for a keypress
- by pressing the <Esc> button.
-
- Exit codes: DDIR uses the following exit codes:
-
- 3: when an error occures
- 2: when DDIR has been terminated
- 1: when help has been requested
- 0: otherwise
-
-
- 6. Comments:
- ------------
-
- * The programmer disclaims any responsibility for damage caused by this
- program, though the program does not write on or change the contents of
- any device it reads from, and does not stay resident in memory.
-
- * Any suggestions or comments about the program will be greatfully
- accepted.
-
- * This program may be distributed as long as its contents are not changed
- and no fee is charged. (The ZIP form is more recommended for
- distribution.)
-
- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-
- App. A: Version Additions:
- --------------------------
-
- 2.31: Improves Hebrew display, blinks zero length files, adds an
- option for lower case characters and no longer highlights .COM
- .BAT and .EXE files which are also system files, as they are not
- executable from the command line.
-
- 2.30: Adds sort by size and descending sort. Improved display. Adds
- abortion with <Esc>. Fixes a bug when a color graphics adapter
- is not present. Stricter parameter checking.
-
- 2.24: Adds time display and allows swapping the day and month
- position of the dates (all in the detailed option).
-
- 2.23: Allows canceling of program text mode changes.
-
- 2.22: Returns to original text mode, allows snow checking.
-
- 2.21: Adds an option to omit commas, and fixes some bugs which occured
- only in ver. 2.20.
-
- 2.20: Improved screen usage in small directories, adds extension
- sort, allows skipping sort, adds an option for pushing directory
- files to the end of the list, and adds commas to file sizes.
-
- 2.12: Improved path and current directory handling
-
- 2.11: Fixes a little bug with empty disks which have no volume label
- and improves error messages
-
- 2.10: Adds Hebrew support to Einstein HebrewWriter style filenames.
-
- 2.00: Sorts filenames and enhances executable ones.
-
- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-
- App. B: Contacting the author:
- ------------------------------
-
- Mail address:
-
- Oren Souroujon
- Hanasi Harishon St. 38/29
- Rehovot, 76302
- ISRAEL
-
- E-Mail Internet address:
-
- NYSOUROU@weizmann.weizmann.ac.il
-
- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=