Category : Miscellaneous Language Source Code
Archive   : VERSEDIT.ZIP
Filename : MAK.BAT

 
Output of file : MAK.BAT contained in archive : VERSEDIT.ZIP
echo off
ECHO This sample batch procedure is to be used instead of CLE.BAT, if you
ECHO use a MAKE utility. It executes your MAKE utility directing its messages
ECHO to a file. In case of errors, this procedure executes VersiEdit to view
ECHO the message file. At this point you would bring in the source code file
ECHO in error and correct it. After which, the process is repeated from the
ECHO beginning.
ECHO ÿ
ECHO This procedure must be modified to reflect your programming environment
ECHO as indicated by remarks in the text of the procedure.
goto end
echo off
REM After modification, this procedure is executed by entering at DOS prompt:
REM MAK "file", where "file" is the name of your MAKE parameter. The "file"
REM is also the value of the %1 parameter in this procedure.
REM
REM MODIFICATION INSTRUCTIONS:
REM
REM 1. Make sure that this file is backed up.
REM 2. Remove the initial lines up to and including "goto end".
REM 3. Modify the MAKE statement as needed for your environment. %1 para-
REM meter contains the name of your MAKE parameter file.
REM
REM ** END OF MODIFICATION INSTRUCTIONS **
:beg
REM Execute Make program
make %1 >err.msg
if not ERRORLEVEL 1 goto ex
REM An error has occurred, edit error message file.
REM Based on the contents of the error message file,
REM you would manually bring in the source code file that is in error.
e err.msg
REM Allow exit from the loop.
echo ÿ
echo ÿ
echo ** Press ^C to Abort, Any Other Key to Continue **
pause
goto beg
:ex
REM Display the message file. It may contain warning messages that
REM did not trigger the error processing loop.
type err.msg
:end



  3 Responses to “Category : Miscellaneous Language Source Code
Archive   : VERSEDIT.ZIP
Filename : MAK.BAT

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/