Remove dir contents?

Andrej Mitrovic andrej.mitrovich at gmail.com
Thu Apr 5 03:46:31 PDT 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 *.*".


More information about the Digitalmars-d-learn mailing list