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 dot.gif
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 dot.gif
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

转载于:https://www.cnblogs.com/publicbill/archive/2007/05/07/737872.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值