@ ECHO OFF
SET BCC=C:\BCC7364
SET XHB=c:\xharbour
SET HARBOURCMD=-a -es2 -gc0 -n -q -w3 -u+%EFW%\include\harbour.ch
SET CLIB=-L%BCC%\lib;%BCC%\lib\psdk @%BCC%\bcc64.rsp
IF EXIST %1.prg %XHB%\bin\harbour %1 -i%XHB%\include
IF EXIST %1.c %BCC%\bin\bcc64 -I%XHB%\include %1.c
IF EXIST %1.o %BCC%\bin\ilink64 -j%XHB%\lib -ap c0x64 %1, %1.EXE, , @%XHB%\hrb64%SSL%.rsp %CLIB%
IF EXIST %1.c DEL %1.c
IF EXIST %1.o DEL %1.o
IF ERRORLEVEL 1 GOTO Pausa
IF NOT EXIST %1.exe GOTO Pausa
%1
GOTO Fine
:Pausa
PAUSE
:Fine
---------------------------------------------------------------------------------------------------------------
Batch file Test Report ---------------------------------------------------------------------------------------------------------------
xhb10269_bcc73064.zip
bcc73064.zip
batch file you sent I tried compiling but in the compressed file I received
The files harbour.ch and bcc64.rsp cannot be found.
C:\xharbour\tests>build while
xHarbour 1.2.3 Intl. (SimpLex) (Build 20221118)
Copyright 1999-2022,
http://www.xharbour.org http://www.harbour-project.org/ Error F0033 Can't open standard rule file: '\include\harbour.ch'
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)