Err Msg: Drive C Contains Errors That Must Be Corrected...

ID: Q132883


The information in this article applies to:


SYMPTOMS

You may experience one of the following problems while using DriveSpace:


CAUSE

These errors can occur if the drive contains a folder with a path that contains more than 66 characters. For example, the following path contains more than 66 characters:

C:\Windows\Profiles\<username>\Startm~1\Programs\Winapp\Winword\Setup


RESOLUTION

To work around this problem, follow these steps:

  1. Start ScanDisk. Click the Automatically Fix Errors check box to clear it, and then begin checking the drive.


  2. When you receive the error message
    The <path> folder could not be opened in MS-DOS mode because its complete short name was longer than 66 characters.
    make a note of the path that is longer than 66 characters, and then click Ignore. If you receive more than one such message, note each path.


  3. After ScanDisk is finished, move each folder whose path contains more than 66 characters to another location with a shorter path.


  4. Perform the DriveSpace operation you want.


  5. After the DriveSpace operation is finished, move each folder that you moved in step 3 back to its original location.



MORE INFORMATION

This is not a limitation in Windows or DriveSpace. Windows allows paths with more than 66 characters. However, MS-DOS does not allow these long paths. When you use the Automatically Fix Errors option in ScanDisk, a path that is longer than 66 characters is considered valid to Windows and invalid to MS-DOS.

ScanDisk does not try to fix the path because the path is valid to Windows However, when DriveSpace runs in mini-Windows mode, a folder with a path longer than 66 characters cannot be processed correctly.

This situation may occur when you are using user profiles because of the long directory structure that is created. User profiles can store the entire Start Menu directory structure, creating paths longer than 66 characters.

NOTE: If you start your computer to Safe Mode Command Prompt Only and then run ScanDisk at a command prompt, you receive messages indicating that your hard disk contains bad clusters. When you are prompted to do so, move the files to a new location, and then continue running ScanDisk.

NOTE: If ScanDisk for Windows does not give you an error message that the path is too long even if the Automatically Fix Errors check box is selected, enable the "Report MS-DOS mode name length errors" in ScanDisk advanced options.

Additional query words: 98


Keywords          : kberrmsg kbtool winplus drvspace scandisk win95 win98 
Version           : 95 98
Platform          : WINDOWS 
Issue type        : kbprb 

Last Reviewed: January 20, 1999