home *** CD-ROM | disk | FTP | other *** search
- echo off
- : HELP.BAT. Checks an archive for the help file specified on the
- : command line, unARCs it, and shows it with LIST.COM
- : expects LIST and PKXARC in the path, C: drive, and a file called
- : \ut\helpfile. Change to your taste.
-
- if X%1==X? goto SHOWDIR
- if X%1==X goto HLPMSG
-
- if exist C:\%1.hlp goto ERROR1
- pkxarc C:\ut\helpfile %1.hlp C:\
- if not exist C:\%1.hlp goto SORRY
- xeq list C:\%1.hlp
- del C:\%1.hlp
-
- goto END
-
- :SHOWDIR
- echo HELP: THESE HELP FILES ARE AVAILIBLE
- pkxarc -vm C:\ut\helpfile
- goto END
-
- :SORRY
- echo HELP: NO HELP AVAILIBLE "%1"
- goto END
-
- :ERROR1
- echo HELP: Error: Help file "%1.hlp" already expanded in root directory!
- goto END
-
- :HLPMSG
- echo HELP: SYNTAX: HELP [filename]
- echo HELP ? for list of help files
- goto END
-
- :END
- echo.
-
- : Visit Twit's End BBS, the gigabyte board! (501) 771-0114. Home of the
- :Programmer's Technical Reference. No fees, no postcards, no begging, over
- :20,000 files online (and growing by leaps and bounds!).
- : While you're on the End, you might download a copy of the shareware version
- :of the Programmer's Technical Reference. (DOSREFxx.ZIP). The Reference
- :contains just about everything you'd care to know about DOS, the BIOS, device
- :drivers, and general programming information for the IBM. If you choose to
- :register your copy, your $25 check gets you the very latest Registered User
- :version, which is over 3 megs, crammed onto three disks with LHarc. Shove all
- :those crummy reference books onto the floor! Why flip pages when it's all
- :online? Registered users also get special access and support via Twit's End
- :BBS. Such a deal! You can also order at the address below:
- :brought to you by:
- : Dave Williams, PO Box 181, Jacksonville AR 72076-0181 USA
- :11/16/89
-