in

Blog By Bob

Blog by Bob

Directory.Delete(true)

The Directory.Delete() method has two overloads. One (which we haven't demonstrated here) takes no parameters and does a simple delete and the file or directory goes to the recycle bin. The other takes one parameter - a Boolean which indicates whether the delete operation is recursive.

They should add a warning to this:

If you expect your application to run under a priviledged account, please make sure you check the path first...

Thanks for playing, please drive through.

Published Mar 09 2007, 02:14 PM by Bob

Comments

No Comments

Leave a Comment

(required)  
(optional)
(required)  
Add
Copyright © :: BlogByBob.com
Powered by Community Server (Non-Commercial Edition), by Telligent Systems