Monday, 05 February 2007 18:00

How To Delete a Write Protected file

   

 

Steps

 

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

  3. Right click on the file and click on properties
  4.  

  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
Published in Software