To delete old directories on your system that have the "Read-only" attribute set and prevent changes from persisting, follow these steps to remove the attribute permanently:
Via Command Prompt:
- Open Command Prompt as Administrator:
- Type
cmd in the Windows search bar.
- Right-click Command Prompt and select "Run as administrator."
[]Navigate to the Folder:
- Use the
cd command to change the directory to the folder you want to modify.
[]Remove Read-only Attribute:
- Use the
attrib command with -r to remove the read-only attribute from the folder and its subfolders.
Via File...