home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / t / trim_3_0.zip / TRIM.TXT < prev   
Text File  |  1992-12-02  |  5KB  |  154 lines

  1.  
  2.  
  3.                        T R I M
  4.                        
  5.                      Version 3.0
  6.                     December 1992
  7.             (c)1990-1992 Arrow Software
  8.  
  9. Trim is a simple but remarkably useful utility which will
  10. remove, or  'Trim', all or part of a directory tree. Trim
  11. will delete any specified directory and all the files and
  12. sub-directories contained therein.
  13.  
  14. Trim is also useful for erasing ALL files and directories
  15. on a  floppy disk  which  is  much  quicker  than  either
  16. manually deleting the files or re-formatting the disk.
  17.  
  18. Although Trim  is useful  for removing single directories
  19. and their files, a good example of Trims ability would be
  20. the  removal  of  a  complex  software  product  such  as
  21. Borlands excellent  Turbo C++  package. This package - if
  22. installed using the defaults - creates the 15 directories
  23. shown below.
  24.  
  25.                      C:\
  26.                      |---TC
  27.                      |  |---BIN
  28.                      |  |---INCLUDE
  29.                      |  |   +---SYS
  30.                      |  |---LIB
  31.                      |  |---BGI
  32.                      |  |---TOUR
  33.                      |  |---CLASSLIB
  34.                      |  |   |---EXAMPLES
  35.                      |  |   |---INCLUDE
  36.                      |  |   |---LIB
  37.                      |  |   +---SOURCE
  38.                      |  +---EXAMPLES
  39.                      |      |---STARTUP
  40.                      |      +---TCALC
  41.                      V
  42.  
  43. Removing this  manually would  require some  considerable
  44. effort using some THIRTY normal MS-DOS commands since all
  45. the files  in each  directory  would  first  have  to  be
  46. deleted before  repeated RemDir commands could be used to
  47. remove each  directory in  turn. Trim however will remove
  48. the entire tree with just one command:- TRIM TC
  49.  
  50.  
  51.  *    Note that  Trim ALWAYS prompts for confirmation
  52.  *    at least  once before  starting to  delete  any
  53.  *    file or directory!    Trim is invoked in one of
  54.  *    three ways.
  55.  
  56.  
  57. i)   TRIM
  58.      
  59.      This  will   Trim  from  the  root  of  the  current
  60.      directory. For example - if you are in the directory
  61.      C:\TP5\ALPHA then  Trim will  assume that  the  \TP5
  62.      tree is to be removed.
  63.  
  64.  
  65. ii)  TRIM ZAPPA
  66.      
  67.      Trim  will  assume  that  you  wish  to  remove  the
  68.      directory tree under \ZAPPA
  69.  
  70.  
  71. iii)  TRIM E:
  72.  
  73.      Trim will  assume that  you wish  to erase ALL files
  74.      and directories on drive E:
  75.      
  76.      
  77.      
  78. Note that Trim has no regard for System, Hidden, or Write
  79. protected files.  Trim  was designed  to provide  a quick
  80. and  efficient  way  of  removing  directories  and files.
  81. Quick it is! TAKE CARE.
  82.  
  83.  
  84. Note also  that if  you should Trim the directory you are
  85. currently in  - the  program will  move you  to the  Root
  86. directory of the current disk.
  87.  
  88.  
  89. WIPE
  90. ----
  91.  
  92. TRIM accepts one extra command line switch which is /WIPE
  93. and causes Trim to not only erase files, but to overwrite
  94. the space that they  occupied.  This was added in version
  95. 2.2 of Trim  as an extra security feature.  The files are
  96. over-written with $F6's which is the value used by the Ms
  97. disk formatter.  The wipe option was added for use during
  98. a software audit recently carried out so that software 
  99. could be 'properly' erased from a disk.
  100.  
  101. Eg:-
  102.        TRIM C:\MYCPROGS /WIPE
  103.  
  104. The wipe option not only over-writes files before erasing
  105. them, it also renames the file to a string of E5h's as
  106. used by Dos when deleting a file. Therefore it is impossible
  107. to tell what the file which has been wiped was originally
  108. called. This is also true for directories.
  109.  
  110.  
  111. INSTALLING TRIM
  112. ---------------------------------------------------------
  113. This couldn't be easier. simply copy the TRIM.EXE file to
  114. any directory listed in your PATH statment.
  115.  
  116.  
  117. SHAREWARE
  118. ---------------------------------------------------------
  119. This utility is offered to you under the shareware principle.
  120. If you like it, then be a decent member of the computing
  121. community and send 15 UK Pounds to Arrow Software. In return,
  122. you'll receive the next copy of Trim for free. (See below)
  123.  
  124.  
  125. LIABILITY
  126. ---------------------------------------------------------
  127. Whilst great care has been taken to ensure that this program
  128. functions as described, Arrow Software will not be held
  129. responsible for any damages arising from the direct or indirect
  130. use of this program.
  131.  
  132.  
  133. TRIM version 4
  134. ---------------------------------------------------------
  135. Work is currently under way on Trim version 4 which gives
  136. the ability to only trim a part of a directory tree. Using
  137. the directory structure shown above, Trim 4 would allow you
  138. for example to Trim just the CLASSLIB directory and those
  139. below it.  Register Trim 3 and you will automatically receive
  140. a registered version of Trim 4.
  141.  
  142. Comments, suggestions etc are welcomed either to the address
  143. below or via e-mail to   roysan@uxb.liverpool.ac.uk
  144.  
  145.           TRIM is copyright (c)1990-92 Arrow Software
  146.  
  147.                           Arrow Software
  148.                           25 Cleveley Road
  149.                           Calderstones
  150.                           Liverpool
  151.                           L18 9UN
  152.  
  153.                          - END -
  154.