在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
Visual Studio开发C++,工程的空间几M,几十M甚至几百M的长,生成的中间文件看的眼花缭乱,占空间不说,特别是备份拷贝代码时无奈的等待,有了这个脚本,好吧,整个世界清静了。 复制代码 代码如下:@echo off echo ---------------------------------------------------------------- echo * Visual C++ * echo * 清理Visual Studio工程中不需要的文件 * echo * 保存成.bat文件放置在工程目录中 * echo * 执行前先关闭打开该工程的Visual Studio * echo * 会清理以下格式文件: * echo * *.aps *.idb *.ncp *.obj *.pch *.sbr *.tmp * echo * *.pdb *.bsc *.ilk *.res *.ncb *.opt *.suo * echo * *.manifest *.dep *.sdf *.tlog *.log *.ipch * echo * *.lastbuildstate * echo * Author:Dageking * echo * Blog:www.cnblogs.com/Dageking * echo ---------------------------------------------------------------- pause</p> <p>del /F /Q /S *.aps *.idb *.ncp *.obj *.pch *.sbr *.tmp *.pdb *.bsc *.ilk *.res del /F /Q /S *.ncb *.opt *.suo *.manifest *.dep *.sdf *.tlog *.log *.ipch *.lastbuildstate</p> <p>echo 文件清理完毕!!! pause |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论