home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
High Voltage Shareware
/
high1.zip
/
high1
/
DIR4
/
TIR103.ZIP
/
TIR.DOC
< prev
Wrap
Text File
|
1993-09-27
|
4KB
|
86 lines
│ Triple Directory │ Triple Directory │ Triple Directory │
V1.03 by Dave Reynolds
internet - dave.reynolds@canrem.com
CRS - in conf 315 chit_chat
FREE WARE!!! PAST IT AROUND, JUST DON'T ALTER IT PLEASE!!!
v1.03 - adds drive letter
- moves ALL subdirectories to the TOP
of the listing
- fixes extensions with less than 3 letters
- adds free bytes on drive
- counts DIR's and Files seperatly (UNLESS /N IS USED!)
This simple program is intended to supliment the Dos DIR command
not (at this point anyway) replace it. I found that working with the
Dos DIR often gives you information that you don't really care about
eg. the time. I almost never look at the time or date. I started to
use the WIDE switch with DIR. Now you don't even get the file size!
In answer to my own needs I worte this little program to display
my directorys three wide WITH the filesize. Also Dos DIR would only
pause if you told it to, so if a directory had tons-o-files you had to
do a DIR command twice. Once to find out you couldn't read them all
and the second to add a /P or /W switch. Humm.
TIR will pause after 24 lines of display by default. If you need to
have it zip by for some reason the /P switch will turn OFF pause.
Having the files sorted by Name is nice to. So thats the default. If
you want No sort then add the /N switch. Text (name/etx) sorts are in
assending alphabetical order. ie. abc. File size sorts are decending.
Meaning largest to smallest.
Then I though "it would be nice to see all the files on the disk" not
not just the "normal" files. But how to display the attributes without
putting all kinds of letters and junk on the screen? COLOR! Each attribute
or combination of attributes has it's own color code. To see the codes
type TIR /C and there you are.
To install just copy it to your utils directory or any other directory
in your DOS PATH. See your Dos manual if you need help with that.
Switches can be combined and a filemask can be added. The one thing to
remember is the switches MUST come AFTER the filemask on the command
line. AND the file mask must have an extention. A* will not work, but
A*.* will. I'm working on that one, but I'm also trying to keep the size
of the file down to a minimum.
examples: (for a list of all switches type TIR /?)
TIR normal 3 column display of ALL files with pause ON
TIR /N normal 3 column display of ALL files. Pause is ON.
Sort by name is OFF.
TIR /S single column display of ALL files with pause ON
TIR *.ZIP /D double column display of ONLY the files with .ZIP extention
pause is ON
TIR A*.* /P 3 column display of all files that start with 'A' the
pause is OFF
TIR /C will bring up the COLOR CODES.
TIR /E 3 column display sorted by Extention.
TIR A*.* /D /E All files begining with 'A' sorted by their Extention in
double columns.
PROBLEMS! TIR wont handle more that 255 files... I guess it could..
not sure.
TIR cant handle T* type masks. They must have the '.'
and an extension.