digitalmars.D.learn - Remove dir contents?
- Andrej Mitrovic <andrej.mitrovich gmail.com> Apr 05 2012
There's rmdirRecurse in std.file, but it removes the folder itself as well as its contents. I'm looking for a function that removes only the contents of the dir. Is this in Phobos, and if not can we add it? Otherwise I have to use platform-specific calls to system() like "del *.*".
Apr 05 2012