Strange behaviour when deleting directories

Delete a non-existent directory: SuccessDelete an empty directory: SuccessDelete an empty directory “foo” but specify it as "foo ": SuccessDelete a non-empty directory “foo”, but specify it as "foo ": System error 145. The directory is not empty.Steve

Steve,

You can blame Microsoft for this weirdness :slight_smile: We’re simply calling the “RemoveDirectory” Windows API for this.

.t8

Ah, ok. Can I also blame them (via IE7) for eating my line feeds?

Testing
with
BR
tags?

Foo.

Steve

Nah, for that you can blame the Forums module :wink:

.t8