复制保存到任意文件名.bat,放置在Visual Studio Solution目录下。

当Visual Studio Solution目录过于庞大或打算拷贝移动Visual Studio Solution时,双击打开bat文件即可。

本bat文件仅删除Visual Studio每次运行自动创建的临时缓存文件,不会删除源文件,请放心使用。

 ::请勿轻易修改此文件,以避免不可预知的错误 By gwsbhqt@163.com

 @echo off
color 0A
title Clean Visual Studio Solution Temporary File Build20160418 if not exist *.sln (color 0C & echo 当前目录不存在Visual Studio解决方案... & ping 0 /n 3 >nul 2>nul & exit) echo 清理Visual Studio解决方案临时文件... & echo. & echo 按任意键继续... & pause > nul attrib -a -r -s -h *.* >nul 2>nul
for /d %%i in (*) do (attrib -a -r -s -h %%i\*.* >nul 2>nul) del /s /q /f *.sdf >nul 2>nul
del /s /q /f *.opendb >nul 2>nul
del /s /q /f *.suo >nul 2>nul
del /s /q /f *.aps >nul 2>nul
del /s /q /f *.exe >nul 2>nul
del /s /q /f *.ilk >nul 2>nul
del /s /q /f *.pdb >nul 2>nul
del /s /q /f *.iobj >nul 2>nul
del /s /q /f *.ipdb >nul 2>nul
del /s /q /f *.log >nul 2>nul
del /s /q /f *.obj >nul 2>nul
del /s /q /f *.pch >nul 2>nul
del /s /q /f *.res >nul 2>nul
del /s /q /f *.idb >nul 2>nul
del /s /q /f *.lastbuildstate >nul 2>nul
del /s /q /f *.tlog >nul 2>nul rd /s /q .vs >nul 2>nul
rd /s /q Debug >nul 2>nul
rd /s /q Release >nul 2>nul
rd /s /q ipch >nul 2>nul
rd /s /q x64 >nul 2>nul for /d %%i in (*) do (
rd /s /q %%i\Debug >nul 2>nul
rd /s /q %%i\Release >nul 2>nul
rd /s /q %%i\x64 >nul 2>nul
) cls & echo 清理完成... & ping 0 /n 2 >nul 2>nul

清理Visual Studio解决方案临时文件:Clean Visual Studio Solution Temporary File Build20160418的更多相关文章

  1. Visual Studio解决方案及项目的配置

    配置解决方案的属性 1.配置解决方案平台,该配置实际上修改的是解决方案目录下的sln(solution)文件. 配置项目的属性 1.配置项目平台及项目的目标平台:项目-右键-属性-生成(竖着第二个选项 ...

  2. 初识Visual Studio Code 一.使用Visual Studio Code 开发C# 控制台程序

    原文:初识Visual Studio Code 一.使用Visual Studio Code 开发C# 控制台程序 1. 安装.NET Core 安装包下载地址:https://www.microso ...

  3. Android studio 使用心得(四)—android studio 多渠道打包(二)

    Android studio 使用心得(四)—android studio 多渠道打包 这篇文章讲了一种打包方式.是直接在android studio 里面可视化操作,结合配置文件.我个人觉得严格上来 ...

  4. [CVPR2017] Visual Translation Embedding Network for Visual Relation Detection 论文笔记

    http://www.ee.columbia.edu/ln/dvmm/publications/17/zhang2017visual.pdf Visual Translation Embedding ...

  5. Android studio 使用心得(六)—android studio 如何加载.so文件

    之前一直没怎么注意,以为.so文件android为像eclipse一样直接加载,但是直到昨天我在android studio上调试公司项目推送消息的时候,才发现,.so文件原来没有加载成功. 可能之前 ...

  6. Android studio 使用心得(一)—android studio快速掌握快捷键

    大家都是从eclipse转过来了,所以早就熟悉了eclipse那一套快捷键. File—>settings—>keymap–>选择eclipse就搞定 话是这么说,但是自动化提示的变 ...

  7. Android Studio(五):修改Android Studio项目包名

    Android Studio相关博客: Android Studio(一):介绍.安装.配置 Android Studio(二):快捷键设置.插件安装 Android Studio(三):设置Andr ...

  8. Android Studio(三):设置Android Studio编码

    Android Studio相关博客: Android Studio(一):介绍.安装.配置 Android Studio(二):快捷键设置.插件安装 Android Studio(三):设置Andr ...

  9. vcftools报错:Writing PLINK PED and MAP files ... Error: Could not open temporary file.解决方案

    一般来说有两种解决方案. 第一种:添加“--plink-tped”参数: 用vcftools的“--plink”参数生成plink格式文件时,小样本量测试可以正常生成plink格式,用大样本量时产生W ...

随机推荐

  1. [CSP-S模拟测试63]题解

    A.Median 这题的数据生成方式并没有什么规律,所以可以认为是随机数据. 维护一个桶,表示当前K长区间里的值域情况. 并且用变量记录中位数值域上的左侧有多少个数,当区间调整时一并调整桶和这个变量即 ...

  2. 使用Canvas操作像素

    现代浏览器支持通过<video>元素播放视频.大多数浏览器也可以通过MediaDevices.getUserMedia() API访问摄像头.但即使这两件事结合起来,我们也无法直接访问和操 ...

  3. SQL必知必会——创建和操纵表(十七)

    1.创建表 一般有两种创建表的方法: 多数DBMS都具有交互式创建和管理数据库表的工具表也可以直接用SQL语句操纵1.1.表创建基础 CREATE TABLE products( prod_id,CH ...

  4. tar的具体参数和用法!

    tar -c: 建立压缩档案-x:解压-t:查看内容-r:向压缩归档文件末尾追加文件-u:更新原压缩包中的文件 这五个是独立的命令,压缩解压都要用到其中一个,可以和别的命令连用但只能用其中一个.下面的 ...

  5. CJE-Jenkins认证工程师备考指南1-考试简介

    CloudBees公司提供两项认证 Jenkins工程师(CJE)考试 包括60个选择题 测试开源Jenkins的知识. CloudBees 平台工程师(CCJE)考试 包含90个问题: 60个问题测 ...

  6. JS-模拟printf

    function printf(){ var args = [].slice.call(arguments), fmt = args.shift(), args_index = 0; ///%(填充的 ...

  7. promise基础用法

    /** * Created by liyinghao on 2016/11/6. */ const fs = require('fs'); /* * 新建一个Promise对象,Promise就是一个 ...

  8. 2019 ACM-ICPC 南京 现场赛 H. Prince and Princess

    题意 王子想要娶公主,但是需要完成一个挑战:在一些房间中找出公主在哪. 每个房间有一个人,他们彼此知道谁在哪个房间.可以问他们三种问题: 你是谁? 在某个房间是谁? 公主在哪个房间? 有三类人,一类一 ...

  9. 运维 04 Shell基础命令(二)

    Shell基础命令(二)   查看Linux的发行版 cat /etc/redhat-release cat /etc/os-release 查看系统用户的id信息 id 用户名 id root id ...

  10. 11.Jmeter 快速入门教程 -- jmeter事务控制器

    你肯定知道, jmeter是一个跨系统平台的性能测试工具, 比如他可以在linux,freebsd,windows,solaris 等等各种系统上可以运行. 我可以说, 事务 transaction ...