PDA

View Full Version : Deleting a non empty folder



riarioriu3
15th June 2012, 13:32
How can i delete a non empty folder ..

wysota
15th June 2012, 13:45
Remove all files and subdirectories and then rmdir the directory.

amleto
15th June 2012, 13:49
personally, I'd use boost::filesystem

if you cant, then this looks like it will work
http://john.nachtimwald.com/2010/06/08/qt-remove-directory-and-its-contents/