DOCUMENT:Q121857 26-NOV-1999 [msdos] TITLE :MS-DOS Setup Displays Error: Setup Error Detected PRODUCT :Microsoft Disk Operating System PROD/VER:MS-DOS:6.0,6.2,6.21,6.22 OPER/SYS: KEYWORDS: ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft MS-DOS operating system versions 6.0, 6.2, 6.21, 6.22 ------------------------------------------------------------------------------- SYMPTOMS ======== When you are installing MS-DOS Upgrade or MS-DOS StepUp, the following error message is displayed: SETUP ERROR DETECTED The following disk error was detected. The listed file was not copied. Error reading --> COMMAND.DAT To exit Setup, press ENTER. CAUSE ===== The Uninstall process of Setup displays the above error message when it is trying to copy C:\COMMAND.COM to A:\COMMAND.DAT on the Uninstall disk. This error occurs when COMMAND.COM is cross-linked with another file, has allocation unit errors, or there is a bad sector on the disk. RESOLUTION ========== You can correct this problem by replacing the COMMAND.COM file. Copy the COMMAND.COM file from your DOS directory over the existing COMMAND.COM file in the root directory using the following commands: attrib -r command.com ren command.com command.old copy c:\dos\command.com c:\command.com NOTE: If the Uninstall portion of setup is bypassed by using the SETUP /G switch, the error does not occur. Also, using CHKDSK /F or SCANDISK may allow you to work around this problem. Additional query words: 6.00 6.20 6.21 6.22 setup error err msg command.dat step-up ====================================================================== Keywords : Technology : kbMSDOSSearch kbMSDOS621 kbMSDOS622 kbMSDOS620 kbMSDOS600 Version : MS-DOS:6.0,6.2,6.21,6.22 ============================================================================= THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. Copyright Microsoft Corporation 1999.