i currently use this code to delete a folder and its contents:
string tempFolder = System.Environment.GetEnvironmentVariable("HomeDrive");
System.IO.Directory.Delete(tempFolder + "\\" + "Test", true);
and it works GREAT but, it will delete the folder and its contents but, will NOT delete read only files. So how using c# targeted Framework of 2.0 can i accomplish this?