delete folders, subfolders and files (some maybe read only or hidden)

  • Thread starter Thread starter Pete Gomersall
  • Start date Start date
P

Pete Gomersall

Hi All,
I have seen many examples of deleting folders with subfolders and files.
(system.io.directory/info etc delete method)
However, I cannot find a decent code example which will work where some
folders/files maybe read only or hidden. I know, basically have to change
the file attributes to normal.
Has anyone a good example of a URL for a good example?
Cheers,
Pete Gomersall
 
Pete said:
Hi All,
I have seen many examples of deleting folders with subfolders and files.
(system.io.directory/info etc delete method)
However, I cannot find a decent code example which will work where some
folders/files maybe read only or hidden. I know, basically have to change
the file attributes to normal.
Has anyone a good example of a URL for a good example?
Cheers,
Pete Gomersall

Why? Is it so hard to write it your selfe
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top