home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / UTILITY / SYSTEM / BCU100.ZIP / BCU.DOC < prev    next >
Encoding:
Text File  |  1992-01-01  |  10.1 KB  |  242 lines

  1. BCU: Bob's Combined Utilities                              Registration $10.00
  2. Copyright (c) 1991 by R.P.McCormick
  3.                       79 Rye Street
  4.                       Broad Brook, CT 06016
  5.  
  6. Command line: BCU
  7.  
  8. The following files are included with BCU:
  9.  
  10. ATTR     EXE List files by Archive, Read-only, System or Hidden attributes
  11. BCU      DOC This File
  12. BCU      EXE Bob's Combined Utilities.
  13. DD       BAT Delete Directory
  14. DOSUTIL  DOC DOS utility user's guide
  15. NUMOFF   EXE NumLock Off
  16. RDIR     EXE Shows relative directory size in a pie chart.
  17.              RDIR  requires CGA, EGA or VGA.               
  18. REG      FRM Registration form.
  19. SFT      EXE Show file with tabs. Search for text.                    
  20. SINCE    EXE List files modified SINCE date [& optional time].  
  21. STF      EXE Show 2 files side by side. Highlights differences.
  22.              STF & SFT work with ASCII text files.
  23. WDN      EXE Wipe Directory Names                                           
  24.  
  25. To print this file, enter "TYPE BCU.DOC > PRN"
  26.  
  27.  
  28. *****************************
  29. ATTR   List files by ATTRibutes
  30.  
  31. ATTR provides you with a optionally printable list of _only_ those 
  32. files with the specific attributes set which you selected.
  33.  
  34. DOS provides a system of marking each file with "attributes". 
  35. The 'a' attribute is set by DOS whenever you copy a file to the disk, 
  36. or if you modify it.
  37.  
  38. ATTR is an aid to knowing when to backup the files on your hard disk.
  39.  
  40. The DOS command "ATTRIB" will display a directory of _all_ file names 
  41. and their attributes whether they are set or not. If you are trying to 
  42. figure which files need to be backed up, you have to look at the entire
  43. list.
  44.  
  45. ATTR will include any files meeting the requirement which are in 
  46. the current directory or any of its subdirectories.
  47. Looking at a list of files with the 'a' attribute set gives you an idea
  48. of how much would be lost if you don't do a backup.
  49.  
  50. ATTR will list System or Hidden files. For DOS versions prior to 5.0,
  51. ATTRIB ignores these files.
  52.  
  53.  
  54. If you use ATTR at the top level, you will see many files listed which
  55. you don't intend to backup. Applications, such as WordPerfect, will have
  56. dozens of files with their archive bit set. If you want to use ATTR to
  57. show you how many of _your_ files need backup, you will probably want
  58. to clear the 'a' bit for some applications. That is what the DOS
  59. command is good for. ATTRIB -a *.*/s will clear all the archive bits 
  60. in the current directory and all its subdirectories. From then on when
  61. you type use ATTR you will get a list of only the files which have been
  62. added or have changed since you last backed up.
  63.  
  64. DOS commands COPY & XCOPY do not ordinarily clear the archive bit, but
  65. BACKUP and most commercial software such as Fastback do.
  66.  
  67.  
  68. *****************************
  69. RDIR   Relative DIRectory size
  70.  
  71.  
  72. I wrote RDIR because the DOS command "DIR" provides only the size of 
  73. each file in the current directory. I wanted something to show the
  74. size of each subdirectory. Typically on a hard disk, there are several 
  75. subdirectories, and RDIR shows the size of each. This is useful in
  76. tracking down what is taking up too much room on the disk.
  77.  
  78. A pie chart shows the size of each subdirectory, relative to
  79. the total of all subdirectories at the current level, sorted by size.
  80. Files at current level are not included in the pie. 
  81. A bar chart shows the size of the current directory, 
  82. including files at the current level, as a percent of the whole disk.
  83. If percents are less than 1%, it prints a dot.
  84.  
  85. There is no limit on the number of directories at any level,
  86. but I have limited the nesting of subdirectories to 16.
  87.  
  88. No parameters are required on the command line, but you can type
  89. "RDIR ega" or "RDIR cga" to force it to operate in those modes.
  90. There is a help screen, reachable with the function key F1 while
  91. the graphics display is active.
  92.  
  93.  
  94.  
  95. *****************************
  96. Show File w/ Tabs.           
  97.  
  98.  
  99. Command Line: SFT filename
  100.  
  101. Main reason for the existence of SFT is for viewing ASCII text files
  102. which contain TAB characters which may differ from the norm.
  103. You can adjust the TAB size while viewing a file (or while on the F1
  104. Help screen) by using the TAB key. Shift-TAB decreases the number
  105. of spaces between TABs. The current TAB setting appears on the Help screen.
  106. SFT can view WordStar files, but ignores imbedded control codes.
  107. Files may be up to 132 columns per line.
  108. When using the "Find" or search feature, the line containing the target
  109. phrase is "Highlighted" by dimming the text.
  110.  
  111. Some file viewers read the entire file into RAM before allowing you to
  112. see the first page. For a large file residing on a floppy, this can take
  113. a long time. I chose not to do that, so the first page appears much faster. 
  114. Sometimes you just want to take a quick look to see what is in a file. 
  115. Maybe you can't tell what it is from it's name in the directory.
  116.                                 
  117.  
  118.  
  119. *****************************
  120. SINCE: list files modified SINCE date & time
  121.  
  122.  
  123. This is something I wrote for my own use to help jog my memory as
  124. to just what was it I was working on yesterday. If you can't
  125. remember the name of the file or even the directory it was in,
  126. type SINCE at the top level (typically C:\), followed by a date
  127. previous to what you are interested in. It will give you a list
  128. of all the files which have changed since then. 
  129. You may also find it useful to show which files have changed since
  130. you last backed up.
  131. If someone else has access to your computer you can use SINCE to
  132. find out what files they may have modified.
  133.  
  134.  
  135. *****************************
  136. STF:  Show Two Files.        
  137.  
  138.  
  139. Command Line: STF file1 file2
  140.  
  141. STF compares two ASCII text files side-by-side.
  142. It can be used to see if two files are identical, or if not,
  143. to pinpoint what is different between the two files. This should help
  144. to identify what changes you may have made between two revisions.
  145. Allows comparison of WordStar files, but ignores imbedded control codes.
  146. Files may be up to 132 columns per line.
  147. Differences are "Highlighted" by dimming unequal lines on 
  148. the right side: File 2.
  149.  
  150.  
  151. *****************************
  152. WDN: Wipe Directory Names.   
  153.                                                       
  154.  
  155. WDN: An aid to backup.
  156. Whenever I make a copy of a floppy disk, I usually make a temporary
  157. directory on the hard drive, xcopy B:*.*/s to the hard drive, then
  158. xcopy *.*/s B: to the new floppy. This leaves a mess on the hard drive.
  159. Especially if there is a complex directory structure on the floppy.
  160. You could go to each directory and del *.*, then back out and RD
  161. each directory. I normally use Norton's Wipefile *.*/s/n to delete
  162. all the files. But then you still have all the directory names.
  163. WDN will wipe the names of all empty directories starting at the current
  164. level down to 16 levels below. Much faster and easier than doing one
  165. at a time.
  166.  
  167. WDN: For the security conscious.
  168. If, for example you are copying personal files onto the office computer, 
  169. and you want to remove all traces of these files. 
  170. You may use Wipefile *.*/s to remove the files, but the directory names
  171. still exist. DOS's RD leaves the name intact for the idly curious, deleting
  172. only the 1st character. Not even a Wipedisk/e which erases all erased disk
  173. space will remove the directory names. WDN does.
  174.  
  175.  
  176. *****************************
  177. The following two utilities are included gratis with each copy of  BCU, but 
  178. are not "controlled" by BCU. Neither one requires registration.
  179.  
  180.  
  181. *************
  182. DD: Delete Directory. 
  183. Command line: DD dirname.           Example: DD temp
  184. I have included this very simple batch, which I find to be a real time saver. 
  185. All it does is delete all files in the directory you name, then deletes the 
  186. directory name. It does not "Wipe" the directory name.
  187.  
  188. *************
  189. NUMOFF: Numlock Off.
  190. Command line: NUMOFF
  191. This very short program, written in assembler, shuts off "Num Lock".
  192. It is used by BCU to insure that the arrows in the numeric keypad are
  193. functional. I have found that other software requires the Numlock off,
  194. but do not turn it off automatically. For these, I make up a batch
  195. file which calls NUMOFF first, then the target program.   
  196.  
  197.  
  198. *****************************
  199.                   -- REGISTRATION --
  200.  
  201. You are encouraged to register your copy of BCU. As shareware, it is
  202. given to you for the purpose of allowing you to try it out to see
  203. if you will find it useful. If it is not something you are going
  204. to find much use for, it doesn't cost you anything. But if you
  205. continue to use the program, you are violating the agreement.
  206. The first time this program is run, it creates a unique serial
  207. number, and allows you to enter your name for display each time
  208. it runs. You are given a free trial period of about 60 uses,
  209. after which the program ceases to function.
  210.  
  211. Although the individual utilities may be run from the command line,
  212. they cannot be operated without a valid, operational BCU.EXE available.
  213. NUMOFF.EXE & DD.BAT do not need BCU to operate.
  214.  
  215. If you register, you get a validation key number to enter, after which 
  216. you will have unlimited use of the program.
  217.  
  218. For your convenience in registering, print out the registration form
  219. provided. Use the DOS command:  TYPE REG.FRM > PRN.
  220.  
  221. Your registration also provides me with an incentive to write
  222. more useful programs to improve your productivity.
  223.  
  224. Please feel free to distribute unmodified copies of BCU. Once
  225. it has run, however, and has generated the unique Serial Number
  226. which identifies it as your copy, it is considered a modified
  227. copy, and is not to be distributed.                               
  228.  
  229.           ****** ATTENTION SYSOP: ******
  230.  
  231. You can view (or print out) the help screens without starting the
  232. usage count nor generating a Serial Number. The last screen contains
  233. information directed at those responsible for the distribution of
  234. shareware.
  235.  
  236. BCU '?' or 'h' or 'H' brings up the help screen.
  237. BCU  ? > PRN will send the help screen to your printer.
  238.  
  239. The serial number shown in the help screen of a program which has
  240. not yet "run" is 00000. When it runs it generates a non-zero S/N.
  241.  
  242.