wddk-build.bat recognized as an internal or external

*Good day forum.*

*Am testing out windowsdivert on https://github.com/basil00/Divert
https:

Scenario : My environment is windows 10, visual studio 2015 with windows
driver and SDK install. Had been having this issue for the past five hours
“build is not recognized as an internal or external command”. had even
placed **the “wddk-build.bat” under system environment.


The** wddk-build.bat** only executes and closes immediately.

Would really appreciate an insight from the forum on resolving it *</https:>

Well since wddk-build.bat is for the Win7 WDK or earlier it is not going to work. You need to upgrade this into a current WDK project.

Don Burn
Windows Driver Consulting
Website: http://www.windrvr.com

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of tope awolowo xxxxx@lists.osr.com
Sent: Tuesday, August 22, 2017 11:31 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] wddk-build.bat recognized as an internal or external

Good day forum.

Am testing out windowsdivert on https://github.com/basil00/Divert

Scenario : My environment is windows 10, visual studio 2015 with windows driver and SDK install. Had been having this issue for the past five hours “build is not recognized as an internal or external command”. had even placed the “wddk-build.bat” under system environment.

The wddk-build.bat only executes and closes immediately.

Would really appreciate an insight from the forum on resolving it
— NTDEV is sponsored by OSR Visit the list online at: MONTHLY seminars on crash dump analysis, WDF, Windows internals and software drivers! Details at To unsubscribe, visit the List Server section of OSR Online at

The readme says that this build method (wddk-build.bat) is used with the
win7 wdk. You need to read the instructions more carefully.

Mark Roddy

On Tue, Aug 22, 2017 at 11:30 AM, tope awolowo <
xxxxx@lists.osr.com> wrote:

> Good day forum.
>
> Am testing out windowsdivert on https://github.com/basil00/Divert
> https:

>
> Scenario : My environment is windows 10, visual studio 2015 with windows
> driver and SDK install. Had been having this issue for the past five hours
> “build is not recognized as an internal or external command”. had even
> placed **the “wddk-build.bat” under system environment.

>
> * The** wddk-build.bat** only executes and closes immediately.*
>
>
> * Would really appreciate an insight from the forum on resolving it *
> — NTDEV is sponsored by OSR Visit the list online at: MONTHLY seminars
> on crash dump analysis, WDF, Windows internals and software drivers!
> Details at To unsubscribe, visit the List Server section of OSR Online at</https:>

tope awolowo wrote:

*Good day  forum.*
*
*
*Am testing out windowsdivert on https://github.com/basil00/Divert\*
*
*
*Scenario : My environment is windows 10, visual studio 2015 with
windows driver and SDK install. Had been having this issue for the
past five hours “build is not recognized as an internal or external
command”. had even placed **the “wddk-build.bat” under system
environment.*
* *
* The **wddk-build.bat** only executes  and closes immediately.
*
* *
* Would really appreciate an insight from the forum on resolving it
*

This project was created for the Windows 7 WDK, which used the
command-line “build” tool to build everything.  To use the Windows 10
WDK, you need to create a Visual Studio project file.

In this case, the driver consists of exactly one source file.  So, you
should be able to use the Visual Studio IDE to create a new KMDF
project, then copy the source and include files into place, edit the
project to use these files instead of the template files, and build it.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.