zoukankan      html  css  js  c++  java
  • clean_vss_files.bat

    @echo off
    echo This batch file is used to clean the VSS files (e.g. *.scc
    , *.vspscc, etc.).
    echo.
    echo WARNING:
    echo 
    1. You should always make a copy to do this operation because cleaning is 
    echo    NON reversible.
    echo 
    2. You should first open VS.NET IDE and disconnect the solution or project
    echo    with the VSS repository.
    echo 
    3. Your VS.NET IDE is currently shutted down.
    echo.
    echo Make sure you've finished the above preparations. Otherwise
    , you should
    echo click the 'X' button on the top-right corner of this DOS window to stop
    echo this operation.
    echo.

    set /P continue
    =Are you sure you want to Continue? (YN)

    if 
    "%continue%" == "n" goto end
    if 
    "%continue%" == "N" goto end

    echo.
    echo Deleting *.scc
    , *.vspscc, *.user 
    echo.

    del *.suo /q /f /ah
    del *.user /s /q /f
    del *.scc /s /q /f
    del *.vssscc /s /q /f
    del *.vspscc /s /q /f

    echo.
    echo Deleting obj and bin folders 
    echo.

    if exist .\MIC.RETSS.Common_DataObjects\bin rmdir .\MIC.RETSS.Common_DataObjects\bin /s /q
    if exist .\MIC.RETSS.Common_DataObjects\obj rmdir .\MIC.RETSS.Common_DataObjects\obj /s /q

    if exist .\MIC.RETSS.Common_Controls\bin rmdir .\MIC.RETSS.Common_Controls\bin /s /q
    if exist .\MIC.RETSS.Common_Controls\obj rmdir .\MIC.RETSS.Common_Controls\obj /s /q

    echo Finished.
    echo.

    pause

    :end
  • 相关阅读:
    《Qt学习系列笔记》--章节索引
    Qt-绘制图表
    Qt-可视化数据库操作
    Qt-数据库操作SQLite
    古人说的最好,临渊羡鱼,不如退而结网, 这是个勇气问题.
    阿里云产品之数据中台架构
    使用HSDB查看类变量的内存布局(5)
    文件流
    类文件介绍
    类的连接之重写(1)
  • 原文地址:https://www.cnblogs.com/publicbill/p/737872.html
Copyright © 2011-2022 走看看