Files
harbour-core/harbour/samples/hscript/makehtm.bat
1999-10-04 17:41:59 +00:00

33 lines
477 B
Batchfile

@echo off
IF NOT EXIST hscript.exe GOTO :missing
:start
SET HARBOUR_DIR=\HARBOUR\BIN\
hscript hello.hs >hello.htm
hscript multiply.hs >multiply.htm
hscript dir.hs >dir.htm
cls
echo Ready to go!
echo\
echo If you're under W95/98 try:
echo\
echo start hello.htm
echo -or-
echo start multiply.htm
echo -or-
echo start dir.htm
goto end
:missing
echo Missing hscript.exe
echo\
echo Press any key to build it or Ctrl+C to quit...
pause>nul
call makehs
goto :start
:end