By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,333 Members | 1,070 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,333 IT Pros & Developers. It's quick & easy.

ShfileOperation

P: n/a
I know that this is the API to use..is there a way to use it to delete an
entire directory instead of just a file?
Nov 20 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Hi Les,

This should do it,

http://msdn.microsoft.com/library/de...eletetopic.asp

I hope this helps?

Cor
Nov 20 '05 #2

P: n/a
* "Cor Ligthert" <no**********@planet.nl> scripsit:
This should do it,

http://msdn.microsoft.com/library/de...eletetopic.asp


ACK, 'SHFileOperation' is able to show a progress dialog during the
deleting process, line Windows explorer, but that's optional and maybe
not what the OP wants to do.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
<URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 20 '05 #3

P: n/a
Herfried,

Start that AVI yourself at the begin and stop it at the end.

:-)

Cor
ACK, 'SHFileOperation' is able to show a progress dialog during the
deleting process, line Windows explorer, but that's optional and maybe
not what the OP wants to do.

Nov 20 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.