7 Jun
2007
7 Jun
'07
9:01 a.m.
Hello all! Is there any way to remove a directory using boost::filesystem? remove and remove_all throw an exception. Remove docs reference a POSIX remove(). There is written: [quote] If path does not name a directory, remove(path) shall be equivalent to unlink(path). If path names a directory, remove(path) shall be equivalent to rmdir(path). [/quote] Unfortunately remove does not behave so (on WinXP and Visual C++ 8). One more issue: the link to the POSIX remove() doc points to link() and not remove. With Kind Regards, Ovanes