Microsoft KB Archive/273762

= &quot;You Must Switch to the Resource Kit Directory/Folder&quot; Error Message When You Use the Installd.cmd Batch File to Install the Debug Version of Ntdetect.com =

Article ID: 273762

Article Last Modified on 10/30/2006

-

APPLIES TO


 * Microsoft Windows 2000 Professional Edition

-



This article was previously published under Q273762



SYMPTOMS
When you try to install the debug version of Ntdetect.com by using the Installd.cmd batch file, the installation is unsuccessful and you receive the following error message :

You must switch to the Resource Kit Directory/Folder to install the debug version of NTDETECT.COM.

Press CTRL-C to exit out of setup or you may Press any key to continue. ..

When you press CTRL+C, you receive the following error message:

The system cannot find the file specified.

However, if you continue with the Setup program, you receive the following message, and the program runs successfully:

1 file(s) copied.

Debug NTDETECT installed successfully

To uninstall, type INSTALLD /NOT



CAUSE
This problem occurs because of a bug in Installd.cmd.



RESOLUTION
To work around this problem, follow these steps:  Right-click Installd.cmd, and then click Edit to open the file. Locate the following line:

copy ntdetect.com c:\ntdetect.com

 Replace &quot;ntdetect.com&quot; with &quot;ntdetect.chk&quot; to change the line to the following:

copy ntdetect.chk c:\ntdetect.com

 Run Installd.cmd as specified under the Resource Kit Tools Help component (click Start, point to Programs, point to Resource Kit, and then click Resource Kit Tools Help).



STATUS
Microsoft has confirmed that this is a problem in Microsoft Windows 2000 Resource Kit.

