windows-nt/Source/XPSP1/NT/printscan/print/drivers/usermode/ddkbuild.cmd

29 lines
374 B
Batchfile
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
@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