home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR4 / TIR104.ZIP / TIR.DOC < prev   
Text File  |  1993-09-30  |  5KB  |  107 lines

  1.       │ Triple Directory │ Triple Directory │ Triple Directory │
  2.                         V1.04 by Dave Reynolds
  3.  
  4.                    internet -    dave.reynolds@canrem.com
  5.                    CRS      -    in conf 315 chit_chat
  6.  
  7.       FREE WARE!!! PAST IT AROUND, JUST DON'T ALTER IT PLEASE!!! 
  8.           
  9.           v1.03 - adds drive letter
  10.                 - moves ALL subdirectories to the TOP 
  11.                   of the listing
  12.                 - fixes extensions with less than 3 letters
  13.                 - adds free bytes on drive
  14.                 - counts DIR's and Files seperatly (UNLESS /N IS USED!)
  15.           v1.04 - fixes bug when there is only 1 file in a dir.
  16.                 - fixes bug when there are no dirs in base dir.
  17.                 - adds other drive listings eg.  C:> TIR B:\*.*  [enter]
  18.                   will show you the files and free size of the disk in
  19.                   drive b:. Then return you to the current directory.
  20.     
  21.     This simple program is intended to supliment the Dos DIR command
  22.   not (at this point anyway) replace it. I found that working with the
  23.   Dos DIR often gives you information that you don't really care about
  24.   eg. the time.  I almost never look at the time or date.  I started to 
  25.   use the WIDE switch with DIR. Now you don't even get the file size!
  26.  
  27.     In answer to my own needs I worte this little program to display
  28.   my directorys three wide WITH the filesize. Also Dos DIR would only
  29.   pause if you told it to, so if a directory had tons-o-files you had to
  30.   do a DIR command twice. Once to find out you couldn't read them all
  31.   and the second to add a /P or /W switch. Humm. 
  32.  
  33.    TIR will pause after 24 lines of display by default. If you need to 
  34.   have it zip by for some reason the /P switch will turn OFF pause.
  35.  
  36.    Having the files sorted by Name is nice to. So thats the default. If
  37.   you want No sort then add the /N switch.  Text (name/etx) sorts are in
  38.   assending alphabetical order. ie. abc.  File size sorts are decending.
  39.   Meaning largest to smallest.
  40.    
  41.    Then I though "it would be nice to see all the files on the disk" not
  42.   not just the "normal" files.  But how to display the attributes without
  43.   putting all kinds of letters and junk on the screen? COLOR! Each attribute 
  44.   or combination of attributes has it's own color code. To see the codes
  45.   type TIR /C and there you are.
  46.  
  47.    To install just copy it to your utils directory or any other directory
  48.   in your DOS PATH.  See your Dos manual if you need help with that.
  49.    
  50.    Switches can be combined and a filemask can be added. The one thing to
  51.   remember is the switches MUST come AFTER the filemask on the command
  52.   line.  AND the file mask must have an extention.  A* will not work, but
  53.   A*.* will. I'm working on that one, but I'm also trying to keep the size 
  54.   of the file down to a minimum.
  55.  
  56.   examples:      (for a list of all switches type TIR /?)
  57.     
  58.   TIR            normal 3 column display of ALL files with pause ON
  59.   
  60.   TIR /N         normal 3 column display of ALL files. Pause is ON.
  61.                  Sort by name is OFF.
  62.  
  63.   TIR /S         single column display of ALL files with pause ON
  64.   
  65.   TIR *.ZIP /D   double column display of ONLY the files with .ZIP extention
  66.                  pause is ON
  67.  
  68.   TIR A*.* /P    3 column display of all files that start with 'A' the
  69.                  pause is OFF
  70.  
  71.   TIR /C         will bring up the COLOR CODES.
  72.  
  73.   TIR /E         3 column display sorted by Extention.
  74.  
  75.   TIR A*.* /D /E All files begining with 'A' sorted by their Extention in
  76.                  double columns.
  77.  
  78. PROBLEMS!  TIR wont handle more that 500 files... I guess it could.. 
  79.            but I'm not sure how big I can go with arrays on my compiler.
  80.            Learing all the time....
  81.             
  82.            TIR cant handle T*  type masks. They must have the '.'
  83.            and an extension.
  84.  
  85.            TIR must have a full path for other drive listings. EG.
  86.                TIR B:     - WILL NOT WORK
  87.                TIR B:\*.* - WILL WORK!!!
  88.  
  89.                TIR D:\ZIPS     - NOPE!
  90.                TIR D:\ZIPS\*.* - NOW YOUR GETTING THE IDEA!
  91.            This is all due to the fact that there are millions of 
  92.            combinations, and as of yet I havn't found an easy and short
  93.            way of doing this. To much checking and the program will get
  94.            huge.  Try different things. TIR will simply say...
  95.            No Match Found for d:\zips\a*      of coarse TIR d:\zips\a*.*
  96.                                                  would work though...
  97.  
  98. STANDARD DISCLAIMER....
  99.           
  100.           NOTHING HERE WILL WORK ON ALL MACHINES OR AT ALL TIMES 
  101.          OR IN ALL WEATHER OR WHEN ITS DAYLIGHT OR WHEN IT'S DARK.
  102.       IN OTHER WORDS USE AT YOUR OWN RISK. NOT THAT I THINK IT WOULD
  103.            BUT IF SOMETHING BLOWS UP BECAUSE YOU USED THIS PROGRAM
  104.                          DONT COME CRYING TO ME.
  105.  
  106.  
  107.