home *** CD-ROM | disk | FTP | other *** search
- echo off
-
- : -------------------------------------------
- :
- : Run the TVHC program to create a help file.
- : Check if it made the EDITHELP.PAS file.
- : If not, TVHC is not in directory or path.
- :
- : -------------------------------------------
-
-
- tvhc edithelp
-
- if exist edithelp.pas goto KEEPTRUCKIN
- echo TVHC program failed or not found!
- goto FINIS
-
-
-
- : --------------------------------------------------------------
- :
- : We've already defined a CMDFILE.PAS for all our hcXXXX and
- : cmXXXX constants. So erase the .TPU file that TVHC creates.
- : However, the .PAS file is nice in that it puts all the hcXXXX
- : commands in alphabetic order, so we'll keep it as a reference.
- :
- : --------------------------------------------------------------
-
-
- :KEEPTRUCKIN
-
- if exist edithelp.tpu erase edithelp.tpu
-
-
-
- : -----------------------------------------
- :
- : Erase our previous application help file.
- :
- : -----------------------------------------
-
-
- if exist nedemo.hlp erase nedemo.hlp
-
-
-
- : -----------------------------------------------------------
- :
- : Now rename the helpfile TVHC made for us to our application
- : help file name.
- :
- : -----------------------------------------------------------
-
-
- rename edithelp.hlp nedemo.hlp
-
- :FINIS