w10install/scripts/deploy/pbc.cmd
Michael H.G. Schmidt fe614dc574 .
2021-02-27 15:51:47 +01:00

16 lines
256 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