TuT] How to Change File Attributes from Read only to Normal [TuT
Ok this is how you change a file attribute to normal.
Code:
System.IO.File.SetAttributes("C:\File_Path\File_Name.*", System.IO.FileAttributes.Normal) ' changes file from read only to normal
so if youve got a stuborn read only file and want to delete it, just add this code before it.