Microsoft KB Archive/241909

From BetaArchive Wiki

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:

    1. 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.
    2. Look for the following line in the batch file. It should be the eight line in the file.
    3. Modify the line so that %MSTOOLS%\setenv is in quotes.
    4. Save the batch file.


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

    1. 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.



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


Last Reviewed: October 24, 2000
© 2001 Microsoft Corporation. All rights reserved. Terms of Use.