I\'ve got a junk directory where I toss downloads, one-off projects, email drafts, and other various things that might be useful for a few days but don\'t need to be saved f
According to File.Delete's documentation,, you'll have to strip the read-only attribute. You can set the file's attributes using File.SetAttributes().