home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR4 / TIR107.ZIP / TIR.DOC < prev   
Text File  |  1993-10-15  |  5KB  |  108 lines

  1. WHAT?------------------------------------------------------------------------      
  2.       
  3.          │ Triple Directory │ Triple Directory │ Triple Directory │
  4.                            V1.07 by Dave Reynolds
  5.                                       
  6.                    internet -    dave.reynolds@canrem.com
  7.                     CRS      -    in conference 315 chit_chat
  8.                                       
  9.         FREE WARE!!! PAST IT AROUND, JUST DON'T ALTER IT PLEASE!!! 
  10.  
  11. HOW?-------------------------------------------------------------------------
  12.  
  13.  /? or /H - Displays a reminder screen of the switches.
  14.  
  15.   /C      - Display color codes. Brings up example colors showing you
  16.             what each color means.
  17.  
  18.   /P      - Turns OFF the automatic pause.
  19.  
  20.   /S      - Makes a single column list.
  21.  
  22.   /D      - Makes a double column list.
  23.  
  24.   /N      - NO sort. This is handy if you want to see the files in their
  25.             original order.
  26.   
  27.   /E      - Extension sort. Files are sorted by the .[whatever]
  28.  
  29.   /Z      - siZe sort. Largest to smallest file sizes.
  30.  
  31.   /O[ext] - Omit extension.   NO "." should be added just /OEXT I thought of
  32.             this while looking at my Mahjong directory.  Instead of trying to
  33.             list  the  exe's or com's I thought why not just Omit the TIL's.
  34.             So now I just TIR /OTIL and  I  get a list of everything but the
  35.             .til files.
  36.  
  37. EXAMPLE----------------------------------------------------------------------
  38.                
  39.                       C:\> TIR D:\Zips\a* /d /p /otxt
  40.       
  41.       This  command would  list  all the files in the ZIPS directory on the
  42.     drive D: that start with A  in  a  Double column with no Pause AND Omit
  43.     any files that have a .TXT extension.
  44.  
  45. WHY?-------------------------------------------------------------------------   
  46.    
  47.    This simple program is intendedto supplement the Dos DIR command not  (at
  48.   this  point  anyway)  replace  it.   I found that working with the Dos DIR
  49.   often gives you information  that  you  don't  really care about eg.   the
  50.   time.  I almost never look at the time or date.  I started to use the WIDE
  51.   switch with DIR.  But with that you don't even get the file size!
  52.  
  53.     In answer to my own needs I wrote this  little  program  to  display  my
  54.   directories three wide WITH the filesize. Also Dos DIR would only pause if
  55.   you  told  it  to,  so if a directory had tons-o-files you had to do a DIR
  56.   command twice.  Once to find out you couldn't read them all and the second
  57.   to add a /P or /W switch.  Humm.  TIR will pause after 24 lines of display
  58.   by default.   If you need to have it  zip by for some reason the /P switch
  59.   will turn OFF pause.
  60.  
  61.    Having the files sorted by Name is nice to.  So that's the default.    If
  62.   you  want  No  sort then add the /N switch.   Text (name/ext) sorts are in
  63.   ascending alphabetical order.  ie.  abc.  File size sorts are descending.
  64.    
  65.    Then I though "it would be nice to see all the files on the disk" not not
  66.   just the "normal"  files.    But  how  to  display  the attributes without
  67.   putting all kinds of letters and  junk  on  the  screen?    COLOR!    Each
  68.   attribute  or  combination of attributes has it's own color code.   To see
  69.   the codes type TIR /C and there you are.
  70.  
  71.    To install just copy it to your utils directory or any other directory in
  72.   your DOS PATH.  See your Dos manual if you need help with that.
  73.    
  74. ** Switches can be combined and a  file mask can be added.  The one thing to
  75.   remember is the switches MUST come AFTER the file mask on the command line.
  76.   Your file mask and path can be any valid DOS DIR path and  mask.    So  if
  77.   your in C:\DOS> you can do a TIR D:\ZIPS or any other drive or directory.
  78.  
  79. PROBLEMS!--------------------------------------------------------------------  
  80.            
  81.            TIR wont handle more that 500 files... I guess it could.. 
  82.            but I'm not sure how big I can go with arrays on my compiler.
  83.            Learning all the time....
  84.            
  85. STANDARD DISCLAIMER----------------------------------------------------------
  86.           
  87.           NOTHING HERE WILL WORK ON ALL MACHINES OR AT ALL TIMES 
  88.          OR IN ALL WEATHER OR WHEN ITS DAYLIGHT OR WHEN IT'S DARK.
  89.       IN OTHER WORDS USE AT YOUR OWN RISK. NOT THAT I THINK IT WOULD,
  90.           BUT IF SOMETHING BLOWS UP BECAUSE YOU USED THIS PROGRAM
  91.                           DON'T COME CRYING TO ME.
  92.                                       
  93. REVISIONS--------------------------------------------------------------------
  94.  
  95.           v1.04 - fixes bug when there is only 1 file in a dir.
  96.                 - fixes bug when there are no dirs in base dir.
  97.                 - adds other drive listings eg.  C:> TIR B:\*.*  [enter]
  98.                   will show you the files and free size of the disk in
  99.                   drive b:. Then return you to the current directory.
  100.           v1.05 - fixes up the paths when calling TIR 's on other drives.
  101.                   eg. C:> TIR B:   and  C:> TIR D:\ZIPS   now works.
  102.                 - adds a bit more color to the display
  103.           v1.06 - fixes incomplete file masks  A* will now work.
  104.           v1.07 - adds Omit (/O) option  TIR /ODOC will skip all files 
  105.                   with the extension .DOC
  106.  
  107. THE END----------------------------------------------------------------------
  108.