home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / UTILITY / SYSTEM / TSUTLC17.ZIP / tsutlc.inf < prev    next >
Encoding:
Text File  |  1991-12-07  |  11.5 KB  |  301 lines

  1.                            - 1 -
  2. Sat 7-December-1991
  3.  
  4. About TSUTLC in General                        (All rights reserved)
  5. =======================
  6.  
  7. This is the third package in my utilities series of currently five
  8. packages. The others are TSUTIL, TSUTLB, TSUTLD, and TSUTLE.
  9.  
  10. This package may be used and distributed freely for NON-COMMERCIAL,
  11. NON-INSTITUTIONAL, PRIVATE purposes, provided it is not changed in
  12. any way. (Repacking with another method, is ok though.) For ANY
  13. other usage, such as use in a business enterprise or at a
  14. university, contact the author for registration. Uploading to
  15. bulletin boards is encouraged. Please do not distribute any part of
  16. this package separately.
  17.  
  18. The programs are under development. Comments and contacts are
  19. solicited. If you have any questions, please do not hesitate to use
  20. electronic mail for communication.
  21. InterNet address: ts@chyde.uwasa.fi         (preferred)
  22. Bitnet address:   SALMI@FINFUN.BITNET
  23. Funet address:    GADO::SALMI
  24.  
  25. The author shall not be liable to the user for any direct, indirect
  26. or consequential loss arising from the use of, or inability to use,
  27. any program or file howsoever caused. No warranty is given that the
  28. programs will work under all circumstances.
  29.  
  30. Timo Salmi
  31. Professor of Accounting and Business Finance
  32. School of Business Studies, University of Vaasa
  33. P.O. BOX 297, SF-65101 Vaasa, Finland
  34.  
  35.  
  36. Timo Salmi UTiLities set C, release 1.7 (TSUTLC17) includes the
  37. *    *     ** *          *          * *
  38. following utility-type programs:
  39.  
  40. TSUTLC17        Third set of Utilities, T.Salmi
  41. Filename        Comment                         
  42. --------        --------------------------------
  43. DIRF.EXE        Directory in full, recursive    
  44. DIRINFO.EXE     Directory information of a disk 
  45. DOUBLES.EXE     Find double file names on a disk
  46. DTEDIF.EXE      Difference between two dates    
  47. HIDDEN.EXE      Find all hidden files on disk   
  48. READONLY.EXE    Find all readonly files on disk 
  49. SPLIT.EXE       Split a file into pieces        
  50. TSPROG.INF      List of PD programs from T.Salmi
  51. TSUTLC.INF      Document                        
  52. TSUTLC.NWS      News announcements about tsutlc 
  53. VAASA.INF       Info: Finland, Vaasa, U of Vaasa
  54. WHATDATE.EXE    Date +- number of days from now 
  55. ZEROFILE.EXE    Find all empty files on disk    
  56. ----            ------             ------  -----
  57. 0013
  58.  
  59.  
  60.                            - 2 -
  61.  
  62. DIRF (Ver. 1.6)  Recursive directory utility
  63. ===============
  64.  
  65. Usage: DIRF [directory mask] [/a(llocated bytes)] [/c(urrent datetime)]
  66.             [/s(ubdirectories)] [/w(ide)]
  67.    or: DIRF /h(elp)
  68.  
  69. This is a directory program which can optionally be used recursively, that is
  70. can be applied automatically on all subdirectories (the /s option).
  71.  
  72. Hidden files are included in the directory listing and are indicated
  73. by h. ReadOnly files are coded by r. DIRF also gives the volume
  74. creation date, which MsDos DIR (but not MsDos CHKDSK) omits.
  75.  
  76. There is a slight difference to the MsDos syntax. A subdirectory in
  77. the MsDos DIR command is indicated e.g. by \SUBDIR whereas in DIRF
  78. the proper syntax is \SUBDIR\ that is the closing backslash must be
  79. present. Another difference is that while DIR .EXT list *.EXT files,
  80. you must apply DIRF *.EXT for the same effect.
  81.  
  82. Release notes:
  83.  Version 1.1: The switch for scanning also the subdirectories has
  84. been altered from /v to /s. Errors in the switch are now detected.
  85.  
  86.  Version 1.2: The /w(ide) option has been added. The help switch has
  87. been changed from ? to /h. If the volume has no label, this is now
  88. explicitly stated. DIRF accepts a /p(age) option but exhorts using
  89. the MsDos more filter.
  90.  
  91.  Version 1.3: File size gives the exact size of a file, not
  92. necessarily the space allocated to it, because disk space is
  93. allocated in clusters of bytes. The /a option gives the factual
  94. space allocations.
  95.  
  96.  Version 1.4: Added the /c option which gives the date&time at the
  97. time of running DIRF.EXE.
  98.  
  99.  Version 1:5: Switch /d made a synonym for /c.
  100.  
  101.  Version 1.6: Corrected a bug in the recursive option /s which
  102. caused problems when recursion started from a subdirectory given as
  103. a parameter to DIRF.EXE.
  104.  
  105.  
  106. DIRINFO (Ver. 1.2)  Directory information of a disk
  107. ==================
  108.  
  109. Usage: DIRINFO Device [/a(llocated bytes)]
  110.    or: DIRINFO ?
  111.  
  112. This program lists the names of all the directories on a disk, gives
  113. the total of bytes in the files, and the number of files in each
  114. directory on the disk. The total of bytes is the sum of the sizes of
  115. the files, not the total space allocation to the directory (which is
  116. greater since space in FAT is allocated in clusters of 512 or more).
  117.  
  118. MS-DOS directory command counts directories within a directory as
  119. files. DIRINFO does not count them as files. MS-DOS does not count
  120. hidden files. DIRINFO does count them, because the author feels that
  121. this is more logical.
  122.  
  123. Release Notes:
  124.  Version 1.1: A summary giving the names of the empty directories
  125. has been appended. A directory is now considered empty if it has no
  126. true subdirectories (that is directories other than .. and .) and no
  127. files. In version 1.0 directory was considered empty if it had no
  128. files. This was misleading if there were subdirectories in an
  129. otherwise empty directory.
  130.  
  131.  Version 1.2: Added the /a switch which allows for the cluster size
  132. and thus shows the true space allocated to the files.
  133.  Corrected a bug which allowed DIFINFO to access nonexistent
  134. devices.
  135.  
  136.  
  137. DOUBLES (Ver. 1.5)  Find double file names on a disk
  138. ==================
  139.  
  140. Usage: DOUBLES [device:] [second device:] [/e(xact)] [/n(o attributes)]
  141.    or: DOUBLES ?
  142.  
  143. This program searches through a disk for multiple occurrences of
  144. file names. Each time a multiple name is encountered, it is printed
  145. on the screen.
  146.  
  147. The following is no longer true (see the release 1.1 information
  148. below): "The directory names where the multiple files are located
  149. are NOT given by this program. You have to locate them with some
  150. other program like DIRF.EXE in this package. (There are also other
  151. fine PD or SW programs for doing this, such as SFIND, PKZFIND, SWEEP
  152. DIR, and, of course, the MsDos external SEARCH utility, and so on.)
  153. The reason for this solution is that this way DOUBLES could be made
  154. much faster, and can handle a greater array of files. (Think of the
  155. number of files and comparisons that may be involved.)"
  156.  
  157. DOUBLES can handle up to 5040 files. If there are more on the disk,
  158. the program will finally abort cleanly.
  159.  
  160. Please note that DOUBLES program uses dynamic memory allocation. Use
  161. Break and CTRL-C keys at your peril. Part of free memory will be
  162. lost, and you may have to reboot. (Nah! Not really, TP takes care of
  163. the memory reallocation.)
  164.  
  165. Now why this new program when there already are PD programs doing
  166. this same thing? The reason is simple. The PD program I tried out
  167. crashed when tested on my office 386 computer's harddisk. And
  168. DOUBLES now has capabilities not present in the other disk-serch
  169. programs I have tried out.
  170.  
  171. Release Notes:
  172.  Version 1.1: The multiple file names will be printed on the screen
  173. with the path, date and time information. This means that you no
  174. longer need any other programs to get the path, and date&time. The
  175. cases of more than two files with the same name are not treated
  176. consistently. That is, if a file name appears, say three times, only
  177. 3 (not 6) file names will be listed. You can redirect the output to
  178. a file. E.g. use ECHO y| DOUBLES C: > D.LOG.
  179.  
  180.  Version 1.2: Corrected a memory allocation error, which could have
  181. caused problems in rare cases on machines with very little memory
  182. space.
  183.  
  184.  Version 1.3: Added the /e(xact) switch. In order to consider no
  185. other than identical files as doubles, apply the /e switch. Files
  186. with same name, size and date&time stamp are deemed identical. The
  187. actual contents of the files are not compared the keep the program
  188. fast.
  189.  
  190.  Version 1.4: Added the capability of searching for the doubles on
  191. two disks. My thanks are due to Petri Hartoma of the Tampere
  192. University of Technology for suggesting this improvement. Added
  193. displaying file attributes. For hidden files the letter h, and for
  194. readonly files the letter r, will be added at the end of the
  195. relevant files. You can suppress this by using option /n.
  196.  
  197.  Version 1.5: Corrected a bug which allowed DOUBLES to access
  198. nonexistent devices. Made a couple of minor stylistic changes.
  199.  
  200.  
  201. DTEDIF (Ver. 1.0)  Difference between two dates
  202. =================
  203.  
  204. This program has been added to this package since tsutlc15.
  205.  
  206. Usage: DTEDIF FirstDate(dd-mm-yyyy) [SecondDate(dd-mm-yyyy)]
  207.    or: DTEDIF ?
  208.  
  209. This program calculates the difference in days between two dates. If
  210. only a single date is given, the difference is calculated from the
  211. current date. Notice that you have to give the (modern) year with
  212. four digits, because, for example 2-7-89 will indicate year 89, not
  213. 1989.
  214.  
  215. There is a similar program TIMDIF for difference between two times
  216. in the tsutil package.
  217.  
  218.  
  219. HIDDEN (Ver. 1.1)  Find all hidden files on disk
  220. =================
  221.  
  222. Usage: HIDDEN [device:]
  223.    or: HIDDEN ?
  224.  
  225. This program lists the names of all your hidden files. It performs
  226. the search on all the directories on the selected disk.
  227.  
  228. Release Notes:
  229.  Version 1.1: Corrected a bug which allowed HIDDEN to access
  230. nonexistent devices. Made a minor stylistic changes.
  231.  
  232.  
  233. READONLY (Ver. 1.1)  Find all readonly files on disk
  234. ===================
  235.  
  236. Usage: READONLY [device:]
  237.    or: READONLY ?
  238.  
  239. This program lists the names of all your readonly files whether
  240. hidden on not. It performs the search on all the directories on the
  241. selected disk. If the readonly file is also hidden, this is
  242. indicated by h after the file name.
  243.  
  244. Release Notes:
  245.  Version 1.1: Corrected a bug which allowed READONLY to access
  246. nonexistent devices. Made a minor stylistic changes.
  247.  
  248.  
  249. SPLIT (Ver. 1.1)  Split a file into pieces
  250. ================
  251.  
  252. Usage: SPLIT Filename RowsOrCharsPerPiece [DestinationPath] [/b(inary)]
  253.    or: SPLIT ?
  254.  
  255. As its name suggests, this program splits a text file or a binary
  256. file into pieces. The pieces will be named after the original file
  257. by using 001, 002, and so on, as the extension. Any existing file
  258. will be overwritten. So, do not split the split files.
  259.  
  260. If you omit the /b switch, the original file will be treated as
  261. text. The second parameter will thus indicate how many rows you wish
  262. to have in each new file. If you set the /b switch, the second
  263. parameter will denote the desired number of characters rather than
  264. rows.
  265.  
  266. SPLIT is a Turbo Pascal 5.0 program, and it applies a special
  267. reading and writing technique (blockread/write) to make it fast.
  268.  
  269. In my TSFCOM package there is another program FILECUT.EXE for
  270. splitting files. Filecut is a more specialized, and slower program
  271. with a particular emphasis on written texts.
  272.  
  273. Release Notes:
  274.  Version 1.1: Added the option to define a destination path for the
  275. split files should the user want it to differ from the location of
  276. the file to be split.
  277.  
  278.  
  279. WHATDATE, (Ver. 1.0)  Date +- number of days from now
  280. ===================
  281.  
  282. Usage: WHATDATE ±NumberOfDays
  283.    or: WHATDATE ?
  284.  
  285. This program gives you the date that was, or will be, the given
  286. number of days from today. The date will include the weekday. The
  287. date today is easily checked by applying WHATDATE +0
  288.  
  289.  
  290. ZEROFILE (Ver. 1.0)  Find all empty files on disk
  291. ===================
  292.  
  293. Usage: ZEROFILE [device:]
  294.    or: ZEROFILE ?
  295.  
  296. This program lists the names of all your empty files. It performs
  297. the search on all the directories on the selected disk. If the empty
  298. file is hidden, this is indicated by h after the file name. If it is
  299. readonly r is used.
  300.  
  301.