Delete All Folders starting with __

Mar 7, 2009 at 6:47 PM
Hello,

How can I delete all folders that start with two underscores? ("__FolderName")

I tried:
<MSBuild.ExtensionPack.FileSystem.Folder TaskAction="DeleteAll" Path="$(OutputPath)" Match="__*"/>

But this deleted all folders I have.

Thanks,
Miguel

Mar 7, 2009 at 6:57 PM
I just removed the * and it worked fine:
<MSBuild.ExtensionPack.FileSystem.Folder TaskAction="DeleteAll" Path="$(OutputPath)" Match="__"/>

Thanks,
Miguel