Microsoft KB Archive/241909

{|
 * width="100%"|

BUG: DDK Build Fails Due to Spaces in the Install Directory of SDK

 * }

Q241909

-

The information in this article applies to:


 * Microsoft Windows NT 4.0 Driver Development Kit (DDK), on platform(s):
 * the hardware: Intel x86

-

SYMPTOMS
When the free or checked build environment of Microsoft Windows NT DDK is opened, the following error is displayed in the MS-DOS window:

The name specified is not recognized as an internal or external command, operable program or batch file.

CAUSE
The Platform SDK is installed in a directory that has spaces in its pathname; for instance: \program files\mssdk.

RESOLUTION
 If the Platform SDK is already installed on the system then follow these steps:

 Open the batch file Setenv.bat in a text editor such as Notepad. The file resides in the bin subdirectory where you have installed the DDK. Look for the following line in the batch file. It should be the eight line in the file. Modify the line so that %MSTOOLS%\setenv is in quotes. Save the batch file.

 If the Platform SDK has not been installed, do this:

 Install the Platform SDK in a directory that does not contain spaces in its pathname.

You do not need to modify the Setenv.bat batch file in the DDK as outlined in the first case.</li></ol> </li></ul>

STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.

Additional query words:

Keywords : kbDDK kbKMode kbOSWinNT400 kbOSWin2000 kbDSupport kbGrpDSNTDDK

Issue type : kbbug

Technology : kbWinNTsearch kbWinNT400xsearch kbAudDeveloper kbWinDDKSearch kbWinNT400DDK