Windows batch find and delete?
find /some/path -type d -name .svn -delete
for /D /R «D:\SomePath» %X in (svn) do (rmdir /Q /S "%X")

find /some/path -type d -name «Prefix_*» -delete
for /D /R «D:\SomePath» %X in (Prefix_*) do (rmdir /Q /S "%X")

Из документации [1] на for
Directories only

If set contains wildcards (* and ?), the specified command executes for each directory (instead of a set of files in a specified directory) that matches set. The syntax is:

for /D {%% | %}variable in (set) do command [CommandLineOptions]

[1] technet.microsoft.com/en-us/library/bb490909.aspx
для файлов del *.bak /q /s