2 Star 7 Fork 1

chenjk10/mongodb-c-cxx-Driver

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
VS KClean V1.7.bat 1.75 KB
一键复制 编辑 原始数据 按行查看 历史
chenjinkun 提交于 2017-03-17 19:15 +08:00 . no message
@echo off
rem echo 删除所有的debug文件夹
rem for /D /r . %%c in (.) do @if exist "%%c\Debug" rd /S /Q "%%c\Debug"
rem echo 删除所有的Release文件夹
rem for /D /r . %%c in (.) do @if exist "%%c\Release" rd /S /Q "%%c\Release"
rem echo 删除文件项目文件下的临时文件目录Debug
rem for /f "delims=" %%c in ('dir /s /b /ad') do @if exist "%%c\Debug" rd /S /Q "%%c\Debug" && echo "del directory %%c\Debug"
rem echo 删除文件项目文件下的临时文件目录Release
rem for /f "delims=" %%c in ('dir /s /b /ad') do @if exist "%%c\Release" rd /S /Q "%%c\Release" && echo del directory "%%c\Release"
echo 删除ipch
if exist ipch rd /S /Q ipch
rem for /f "delims=" %%a in ('dir /s /b /ad "ipch"') do (rd /q /s "%%a" && echo 删除文件 "%%a")
echo 删除所有空目录
for /f "delims=" %%a in ('dir /s /b /ad') do (rd /q "%%a" && echo 删除空文件夹 "%%a")
rem 退出
rem exit
rem 不能清理*.manifest
set SPECIAL_SUFFIX=*.aps *.idb *.ncp *.obj *.pch *.sbr *.pdb *.bsc *.ilk *.res *.ncb *.opt *.suo *.dep *.clw *.plg *.positions *.ldb *.exp *.ipch BuildLog.htm *.sdf *.VC.db
set SPECIAL_SUFFIX2=*.lastbuildstate *.lock *.map *.meta
set SPECIAL_SUFFIX3=*.log *.tmp *.1.tlog *.unsuccessfulbuild
set SPECIAL_USER_DATA=*.vcproj.*.*.user ResolveAssemblyReference.cache
set UPGRADE_FILES=UpgradeLog.XML UpgradeReport.css UpgradeReport.xslt UpgradeReport_Minus.gif UpgradeReport_Plus.gif
echo 删除特定后缀的文件 %SPECIAL_SUFFIX% %SPECIAL_SUFFIX2% %SPECIAL_SUFFIX3% %UPGRADE_FILES% %SPECIAL_USER_DATA%
del /F /S /Q /A %SPECIAL_SUFFIX% %SPECIAL_SUFFIX2% %SPECIAL_SUFFIX3% %UPGRADE_FILES% %SPECIAL_USER_DATA%
rem for /r . %%c in (%SPECIAL_SUFFIX% %SPECIAL_SUFFIX2% %SPECIAL_SUFFIX3%) do if exist %%c echo "%%c"
echo 删除所有空目录
for /f "delims=" %%a in ('dir /s /b /ad') do (rd /q "%%a" && echo 删除空文件夹 "%%a")
rem pause
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/chenjk10/mongodb-c-cxx-Driver.git
git@gitee.com:chenjk10/mongodb-c-cxx-Driver.git
chenjk10
mongodb-c-cxx-Driver
mongodb-c-cxx-Driver
master

搜索帮助