pretest.bat

来自「jvcl driver development envionment」· Batch 代码 · 共 34 行

BAT
34
字号
@echo off

if EXIST build.exe GOTO FOUND

dcc32.exe -$D- -DJVCL -Q build.dpr >NUL
if ERRORLEVEL 1 GOTO FAILED

rem ======= COMPILED =======
echo build.exe compiled. Pretest: ok

goto LEAVE

:FAILED
rem ======= FAILED =======
echo.
echo.
echo Delphi Compiler for Win32 (dcc32.exe) was not found. Please add the 
echo Delphi\Bin directory to the PATH environment variable.
echo.
echo You can do this by executing 
echo   'SET PATH=C:\Program Files\Borland\Delphi7\Bin;%%PATH%%'
echo.
echo (Adjust the directories to your installation path)
echo.


goto LEAVE

:FOUND
rem ======= FOUND =======
echo build.exe found. Pretest: ok

:LEAVE

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?