How To Delete a Write Protected file





  1. Open Windows Exporer and navigate to the directory that contains the file to be deleted

  3. Right click on the file and click on properties

  5. Under attributes, uncheck the "read-only" option and click on Apply


  6. Right click the file again and click on delete, then click ok at the confirmation prompt

If this does not work, try the following.


  • Go to the start menu, click on Run, type in cmd and click OK
  • Type cd c:\name of directory (ex. c:\documents\web)
  • Type attrib -r filename.extension (ex. attrib -r test.txt) This will remove the read only attribute
  • Follow the steps above using Windows explorer to delete the file

Leave a comment

Make sure you enter the (*) required information where indicated. HTML code is not allowed.