fangyukuan

永无止境的追求...追求卓越!!!

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

把下面拷进txt文件,并把txt后缀改成bat。再把它放到想清除的目录下。双击运行即可批清除VC临时文件。

@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 删除完毕...

fangyukuan

2011.03.26

本文地址:http://www.cnblogs.com/fangyukuan/archive/2011/03/26/1996039.html

posted on 2011-03-26 00:42  fangyukuan  阅读(1463)  评论(2编辑  收藏  举报