Cannot Remove Deeply Rooted Folder

Last reviewed: August 30, 1996
Article ID: Q132650
The information in this article applies to:
  • Microsoft Windows 95

SYMPTOMS

When you try to delete a folder, you may receive the following error message:

   Cannot remove folder <folder name>: Access is denied.
   Make sure the disk is not full or write protected
   and that the file is not currently in use.

CAUSE

The directory structure for the folder you want to remove is longer than the maximum allowable length.

RESOLUTION

You may be able to delete the folder using one of the following methods:

  • Rename some of the parent folders that are closer to the root directory with shorter names, then try to delete the folder.
  • Run ScanDisk, then try to delete the folder.

MORE INFORMATION

You may also receive the following message when you rename a folder:

   This operation may affect some registered applications.

This message occurs for the same reason as the message you receive when you try to delete a folder. You can ignore this message and continue.


KBCategory: kbui kberrmsg
KBSubcategory: posfest win95
Additional reference words: 95


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.

Last reviewed: August 30, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.