windows-nt/Source/XPSP1/NT/printscan/print/drivers/usermode/ddkbuild.cmd
2020-09-26 16:20:57 +08:00

29 lines
374 B
Batchfile

@echo off
if "%1" == "" goto usage
if not exist "%1\bin\setenv.bat" goto ddkfilenotfound
call %1\bin\setenv.bat %1 %2
set DDKBUILD=1
color 71
title DDK build %1 %2
goto finish
:ddkfilenotfound
echo.
echo File %1\bin\setenv.bat not found - make sure %1 is the correct DDK path
echo.
goto finish
:usage
echo.
echo Usage: ddkbuild ^<DDKPATH^> [checked]
echo.
:finish