gitdelete.bat:
FOR /F “tokens=*” %%G IN (‘DIR /B /AD /S *.git*’) DO RMDIR /S /Q “%%G”
cvsdelete.bat:
@echo off
echo Deleting CVS folders and files under: %1
REM Open Folder specified by parameter.
cd %1
REM Recursive delete command
for /f “tokens=*” %%i in (‘dir /b/a/s CVS*’) do @rmdir /q /s “%%i”
echo Done!
svndelete.bat:
FOR /F “tokens=*” %%G IN (‘DIR /B /AD /S *.svn*’) DO RMDIR /S /Q “%%G”
Git delete batch file, CVS delete batch file, , SVN delete batch file