Recursively delete Subversion SVN directories in Windows

Recently I, for reasons I won’t go into, needed to delete all Subversion _svn directories within a Microsoft Visual Studio solution directory. Now this particular solution has many folders and therefore many _svn directories to rule out going through them all and pressing the delete key.
There are plenty of example out there on how to do this in Unix based systems, but what about Windows? Well thanks to Eber Irigoyen’s blog article on this, here’s a Windows command line solution that does just that:
for /f "usebackq" %d in (`"dir *_svn /ad/b/s"`) do rd /s/q "%d"
Genius. Many thanks Eber!

[...] Czytaj więcej: Recursively delete Subversion SVN directories in Windows … [...]
Hi Ian,
Thanx for pointing me in the right direction! The command worked, with one minor but not altogether unimportant change: I had to replace the underscore by a period (.)
Keep up the good work!
Hi Kees,
No worries, glad it helped. Yes at the time I had to use _svn rather than .svn, I can’t remember why though, I think it was something to do with Visual Studio 2003 but am not sure.
Ian