|
How To Delete a Write Protected file |
|
|
Steps
- Open Windows Exporer and navigate to the directory that contains the file to be deleted
- Right click on the file and click on properties
- Under attributes, uncheck the "read-only" option and click on Apply
- 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
|