一行命令就搞定 删除cvs版本控制信息: for /r . %v in (.) do if exist "%v/cvs" rd /s/q "%v/cvs" 删除svn版本控制信息: for /r . %v in (.) do if exist "%v/svn" rd /s/q "%v/cvs"