home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 24
/
CD_ASCQ_24_0995.iso
/
vrac
/
cdir_al.zip
/
CDIR.TXT
< prev
next >
Wrap
Text File
|
1995-04-06
|
3KB
|
75 lines
CDIR 1.01
═════════
CDIR: Colorful Directory Display (color by extension)
═════════════════════════════════════════════════════
Warranty Disclaimer:
════════════════════
The author disclaims all warranties as to this software, whether
express or implied, including without limitation any implied
warranties of merchantability or fitness for a particular purpose.
In no event shall the author be liable for any loss of profit or
any other commercial damage including, but not limited to special,
incidental, consequential or other damages.
In other words, no lifeguard on duty - use at your own risk.
This is Freeware:
═════════════════
This software may be freely copied, distributed, given away, and used
as long as (a) no fee is charged for the software, excluding media, and
(b) the complete set of original files is included in the distribution.
Files in this package:
══════════════════════
CDIR.EXE - The program
CDIR.TXT - This file (for those that didn't know).
CDIR.CFG - A sample configuration file (use is optional)
Source Code:
════════════
The complete source code to this program is available on this download
service in the file CDIRSR.ZIP. The executable program, CDIR.EXE, was
compiled from CDIR.PAS using Borland Pascal 7.0.
Comments to the author?:
════════════════════════
If you have any comments, you can send them to me at:
CompuServe ID: 72674,1315
Mailing address: Al
P.O.Box 13266
Burton, WA 98013
═════════════════════════════════════════════════════════════════════════════
Running this software:
══════════════════════
Enter "CDIR /?" to display the syntax of usage.
CDIR displays a wide directory (DIR /W) using different colors
based on file extension.
Syntax: CDIR [pathspec] [/H] [/E]
pathspec may include both a directory and/or file specification.
If no drive & directory is specified, the current directory is assumed.
If no file specification is included, "*.*" is assumed.
/H Show hidden files too.
/E List only the unique file extensions found (no other display).
Optionally, you can create a file called CDIR.CFG to force certain extensions
to be displayed in user-specified colors. Each extension should appear on a
separate line followed by a space and the video attribute from 0 to 255.
Calculate video attributes using FOREGROUND-COLOR + (16 * BACKGROUND-COLOR).
Colors: 0=black, 1=blue, 2=green, 3=cyan, 4=red, 5=magenta, 6=brown, 7=white.
Add 8 to attribute for bright foreground color. Add 128 for blinking.
Sample line below displays EXE files in Bright White on Black:
EXE 15
Non-numeric characters following the video attribute are treated as a comment.
CDIR.CFG is looked for in the same directory where CDIR.EXE is located.
An alternate location for CDIR.CFG can be specified in env.var. CDIR.
═════════════════════════════════════════════════════════════════════════════
eof: CDIR.TXT
═════════════════════════════════════════════════════════════════════════════