Monday, October 11, 2010

Folder existence checking and delete a directory tree that is not empty

Tip - Folder existence checking and delete a directory tree that is not empty

Details - _waccess function determines whether the specified file or directory exists and the mode support like read only or Read-write.


In order to delete the directory which is not empty we can't use RemoveDirectory, because it only works on empty directories/folders. But can use SHFileOperation for this.



Posted by -Sobhita Mercy E.

No comments:

Post a Comment