bjwade62 Posted February 14, 2006 Posted February 14, 2006 The code below wont delete hiddden files. Any help? IO.File.Delete("c:\temp\*.*") Quote
Cags Posted February 14, 2006 Posted February 14, 2006 I would suggest that there must be another problem, because the System.IO.File.Delete method should work with hidden files. Quote Anybody looking for a graduate programmer (Midlands, England)?
bjwade62 Posted February 14, 2006 Author Posted February 14, 2006 For some reason it didn't like the *.* so I put it through a loop instead. Thanks. I would suggest that there must be another problem' date=' because the System.IO.File.Delete method should work with hidden files.[/quote'] Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.