home *** CD-ROM | disk | FTP | other *** search
/ Share Gallery 1 / share_gal_1.zip / share_gal_1 / UT / UT098.ZIP / HELP!.ZIP / HELP.DOC < prev   
Text File  |  1989-11-16  |  3KB  |  73 lines

  1.  
  2.                                   HELP.BAT
  3.  
  4.        Smoosh your doc files into an archive and extract them as needed
  5.  
  6.                    Another bizarre Dave Williams batch file
  7.  
  8.  
  9.  I was browsing through the file directory of a local BBS today when I saw
  10. a listing for a program that would keep all my doc files in one archive, and 
  11. extract them on demand to be viewed with a file viewer. The default programs 
  12. were PKXARC and LIST.
  13.  
  14.  It sounded neat. I downloaded it. There was a long raving shareware notice, 
  15. some freaked-out documentation, and half the time the program's docs referred 
  16. to &PRODUCT& instead of the program's name. Aw, c'mon now! Gimme a break!
  17.  
  18.  I was looking at the part when the author was explaining about setting 
  19. environment variables for "&PRODUCT&" when it occurred to me - duh... all this
  20. could be done with a simple batch file. In fact, I already had all my doc 
  21. files trimmed down into .HLP files in a special \HELP directory, and used a 
  22. batch file with replaceable parameters to call LIST.COM. Duh...
  23.  
  24.  Gee, I could really get with saving some disk space. I used PKARC over LHarc 
  25. or PKZIP since PKARC is the speed champion on ASCII files, and I wanted quick 
  26. help. So... two or three minutes, and my little batch file was beating 
  27. &PRODUCT& hands-down.
  28.  
  29.  It's just a batch file, nothing complicated. It has some bells and whistles 
  30. since DOS will use a minimum of 2k of disk space even for a 1 byte file. I 
  31. named the file HELPFILE.ARC and put it in the \UT (utilities) directory, and 
  32. used PKXARC and LIST. My docfiles are edited to reduce their size and renamed 
  33. .HLP instead of .DOC (do you want to read through all the junk every time you 
  34. need to find a command parameter?). I chose to unARC into the root directory 
  35. and clean the mess up when I was done. The batch file even checks to see if 
  36. there's already a file with the same name in the root.
  37.  
  38.  Everything is completely changeable, so you can fit it to YOUR arc program, 
  39. file viewer, and subdirectory structure.
  40.  
  41.  Typing HELP will get you a brief description of the program.
  42.  
  43.  Type HELP ? and it will list all the help files in the archive.
  44.  
  45.  
  46.   ***************************************************************************
  47.       now that you've suffered through this file, a couple of short ads:
  48.   ***************************************************************************
  49.  
  50.  
  51.  Visit Twit's End BBS, the gigabyte board! (501) 771-0114. Home of the 
  52. Programmer's Technical Reference. No fees, no postcards, no begging, over 
  53. 20,000 files online (and growing by leaps and bounds!).
  54.  
  55.  
  56.  While you're on the End, you might download a copy of the shareware version
  57. of the Programmer's Technical Reference. (DOSREFxx.ZIP). The Reference 
  58. contains just about everything you'd care to know about DOS, the BIOS, device 
  59. drivers, and general programming information for the IBM. If you choose to 
  60. register your copy, your $25 check gets you the very latest Registered User 
  61. version, which is over 3 megs, crammed onto three disks with LHarc. Shove all 
  62. those crummy reference books onto the floor! Why flip pages when it's all 
  63. online? Registered users also get special access and support via Twit's End 
  64. BBS. Such a deal! You can also order at the address below:
  65.  
  66.  
  67. brought to you by:
  68.  
  69.      Dave Williams, PO Box 181, Jacksonville AR 72076-0181 USA
  70.  
  71. 11/16/89
  72.  
  73.