PDA

View Full Version : Deleting a non empty folder



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

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

amleto
15th June 2012, 14: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/