home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR2 / APPNUKE.ZIP / APPBAT.DOC < prev    next >
Text File  |  1993-09-10  |  5KB  |  96 lines

  1. OK: hang on. This ain't rocket science.  Since I dunno who will run in
  2. to this, without seeing posts about it, There is an intro at the end.
  3.  
  4. Before unzipping NUKE.ZIP, be WARNED! this thing is a great powerful
  5. little tool... it will delete a directory with it's subdirectories and
  6. all files, including those that have cryptic names like "⌡╪⌠▐╕║ ". And,
  7. moreover, should you goof up, UNDELETE WILL NOT WORK! nEIther will it
  8. ask for comfirmation.... it just blows it all away.
  9.  
  10. The first thing to do is create a separate compression directory, that
  11. will not have a lotta traffic to screw up that area of the FAT. as:
  12.  
  13. md C:\ZIPS
  14. cd C:\ZIPS
  15.  
  16.              [Better yet you could partition the drive]
  17. change into the zip dir, and invoke your file compressor from there; as:
  18.  
  19. pkzip -a TERMCOMM.ZIP C:\BBS\*.*
  20.  
  21.  the "-a" adds all the files in your termcomms directory, [e.g. BBS]
  22.  to termcomm.com.zip, which is now in your \zips\ dirctory.
  23.  
  24.      Now, you need to create a ".bat" file that will create a directory,
  25.         unzip the app, [in this case your termcomm] into it, launch the
  26.         program, and when done modeming, (-u)pdate your logs, dialing dir, 
  27.         etc., into your termcomm.zip, and clean up by removing all the
  28.         files and the directory. "APP.BAT" is a sample to do this.
  29.  
  30. the first line creates the directory...
  31. md C:\BBS
  32. the second moves into it...
  33. cd C:\BBS
  34. The third invokes pkunzip [which should be in your root or path] and
  35. uncompresses all the related files into this directory.
  36. The fourth launches the app.
  37. The fifth line (-u)pdates any changed files [dialing dir & logs] in the .zip
  38.   BTW: if you get a disk error, "(r)etry (q)uit..." do CTRL-C, which will 
  39.   abort the subsequent NUKE process, letting you save the dir as is.
  40. The sixth line changes back to the root directory - you can't remove a 
  41. directory you are in.
  42. The seventh line NUKES the directory
  43. The eighth line invokes my directory menu program.
  44.        
  45.         WHEREVER YOU SEE UPPER CASE, THE LETTERS MAY CHANGE DUE TO YOUR
  46.         PARTICULAR FILE, DRIVE, & DIRECTORY NAMES. lower case letters are
  47.         the commands that will be used in all instances except for pkzip..
  48.         which could be larc, pak, lzh, etc.
  49.  
  50. Although I named this "APP.BAT", typically I use just two letters to launch
  51. the .bat file; thus "BB" at the dos prompt starts the termcomm. "DF" does
  52. drafting, "BF" for bitfax, etc... Since I touch type, I can change and 
  53. launch a new app faster than anyone can drag a mouse over to an icon... A
  54. touch typing program will increase your productivity more than anything else.
  55.  
  56. One last point: If you use a slower machine, check the docs on your data 
  57. compressor... it will have the switches to compress the files a little less for 
  58. FAST extraction [-e(x,n,f,s,0) with pkzip]. For example, you could set it up
  59. to compress only the bulky txt & overlay files, and leave the binary "exe" 
  60. files alone for maximum launch speed on 286's.
  61.  
  62.                                 INTRO
  63. IF you find this setting in your HD sometime in the next few years, you may
  64. not remember what it was put there for, or where it came from, or where to 
  65. put it now. Hopefully, this will help.
  66.  
  67. There have been a lotta posting about STACKER & DOUBLESPACE lately [aug 93]
  68. on the bbs nets, and troubles that have been had with them. I asked if a data
  69. compressor [e.g. pkzip] would not be better solution. Turns out even better
  70. than I thought. 
  71.  
  72. I've been told the former datacomps put everything into one looooooong file,
  73. and much of the inherant DOS error checking is bypassed in favor of speed and
  74. speedier, less robust, error traps. If this file header for your disk is hit, 
  75. the whole NINE yards is gone.
  76.  
  77. If instead, you packed the drive with a section of your apps compressed with
  78. pkz, lhz, larc, pak or whatever, you had more options. Each app is it's own
  79. file, and a FAT error will likely occur to one, [which will get your atttent-
  80. ion] long before it blows the whole drive away. 
  81.  
  82. Moreover, you could park the backup masters in their own directory and their
  83. frequently changed data, graphic, or whatever modules in a separate directory.
  84. Now: Since FAT errors occur during a "write", the directory that is currently
  85. being written to is the one that is fried. Your master app, it's configs, and
  86. whatever will still likely be all right. [partitioned drives]
  87.  
  88. Now, it has been a while since I looked at all the shareware data compressors,
  89. but every one I can recall had the ability to compress for greater extraction
  90. speed, or greater compression. If you have a slower machine, with very big
  91. apps, you can choose to lightly compress, or not compress at all, binary [com
  92. or exe] files which rarely compress enough to be worth it; instead compressing
  93. only the menu overlays, .docs, text & dbf stuff.... 
  94.  
  95. Day Brown, DCPC, Box 9, Tilly AR 72679 (501)7456651, WWIV @8363 Fido 1:284/8
  96.