您的位置:首页 > 编程语言 > C语言/C++

VC++工程清理工具

2011-11-10 11:51 309 查看
一下内容保存为bat文件(VC++清理.bat):

@echo Off

del /s /a *.suo *.ncb *.user *.pdb *.netmodule *.aps *.ilk *.obj *.sbr *.bsc *.pch *.res *.sbr *.idb 2>nul

rem FOR /R . %%d IN (.) DO rd /s /q "%%d\x64" 2>nul

rem FOR /R . %%d IN (.) DO rd /s /q "%%d\Debug" 2>nul

rem FOR /R . %%d IN (.) DO rd /s /q "%%d\Release" 2>nul

rem FOR /R . %%d IN (.) DO rd /s /q "%%d\Bin" 2>nul

rem FOR /R . %%d IN (.) DO rd /s /q "%%d\Obj" 2>nul

rem *If the Properties directory is empty, remove it*

rem FOR /R . %%d in (.) do rd /q "%%d\Properties" 2> nul

//可以根据需要自行修改添加内容;
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: