w10install/tools/pbc.cmd
2021-03-13 18:53:25 +01:00

17 lines
257 B
Batchfile

@echo off
IF %1.==. GOTO USAGE
rem removing extension ...
set BASENAME=%~n1
rem adding extension again ...
set SOURCEFILE=%BASENAME%.pb
pbcompiler /EXE %BASENAME%.exe /CONSOLE %SOURCEFILE%
GOTO END
:USAGE
echo "usage: %0 <PureBasic SOURCEFILE>"
:END