现在的位置: 首页 > 综合 > 正文

批处理删除vc临时文件

2013年02月12日 ⁄ 综合 ⁄ 共 357字 ⁄ 字号 评论关闭

@echo on
echo 删除VC编译产生的临时文件
echo 删除开始...
for /r . %%c in (.) do @if exist "%%c\Debug" rd /S /Q "%%c\Debug"
for /r . %%c in (.) do @if exist "%%c\Release" rd /S /Q "%%c\Release"
for /r . %%c in (*.opt *.dsw *. *.bsc *.aps *.clw *.ncb *.plg *.positions *.WW *.user) do del "%%c"
for /r . %%c in ("*VA_C__Documents and Settings_Administrator_Local Settings_Application Data_VisualAssist_vc6_history_") do del "%%c"
echo 删除完毕...

【上篇】
【下篇】

抱歉!评论已关闭.