View Single Post
  #1 (permalink)  
Old June 11th, 2003, 07:57 AM
DennisTh DennisTh is offline
Registered User
 
Join Date: Jun 2003
Location: , , .
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Deleting directories and files ...

I am trying to delete a directory with Directory.Delete(Path, True) but there are a number of files that are set as read-only. How do I enumerate all files and folders so I can reset the files with File.SetAttributes(entry.FullName, FileAttributes.Normal)

Thx. in advance
Reply With Quote