File Manager Deletes a Read-Only File

Last reviewed: November 23, 1994
Article ID: Q68345
The information in this article applies to:
  • Microsoft Windows operating system versions 3.0, 3.0a

SUMMARY

If you try to delete a file marked read-only from File Manager, the following warning message will be display:

   Delete write-protected or hidden file...

File Manager does allow you to delete the file if you choose to do so. There is no way to prevent a read-only file from being deleted within the File Manager.

MS-DOS, however, displays an access denied message and does not allow you to delete the file.

MORE INFORMATION

A possible option to prevent a read-only file from being deleted from File Manager is to set its file attributes to Hidden, and do not include it as a viewed document. Use the following steps to change a file's attributes to Hidden from File Manager:

  1. From File Manager, select the file you want to hide.

  2. From the File menu, select Change Attributes.

  3. Put a check mark in the Read-Only box and in the Hidden box and select OK.

  4. From the View menu, choose Include.

  5. Clear the Show Hidden/System Files box and choose OK.

File Manager stills allow you to delete a read-only file; however, by marking a file as Hidden, it is less likely to be deleted.


KBCategory: kbother kbdisplay
KBSubcategory: win30
Additional reference words: readonly read only 3.00 win30 3.00a


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: November 23, 1994
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.