-
Notifications
You must be signed in to change notification settings - Fork 0
/
CleanUp_noNotice.bat
54 lines (52 loc) · 1.25 KB
/
CleanUp_noNotice.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
rem echo off
rem set /p a=请注意,执行此脚本会删除项目内所有bin和obj文件夹及引用目录编译生成文件,确定要执行么(y/n)?
rem if %a%==n exit
echo "正在删除obj..."
for /f "tokens=*" %%a in ('dir obj /b /ad /s ^|sort') do rd /s/q "%%a"
echo "obj删除完毕"
echo "正在删除bin..."
for /f "tokens=*" %%a in ('dir bin /b /ad /s ^|sort') do rd /s/q "%%a"
echo "bin删除完毕"
echo "删除引用目录的dll"
set dir=Reference\SceneMonitor.View.Controls
rd /s /q "%dir%"
echo 清空%dir%"
md "%dir%\"
set dir=Reference\GCSS.View.Controls
echo 清空%dir%"
rd /s /q "%dir%"
md "%dir%\"
set dir=Reference\SceneMonitor.Controls.ProjectWindow
echo 清空%dir%"
rd /s /q "%dir%"
md "%dir%\"
set dir=Reference\Basic\Controls
echo 清空%dir%"
rd /s /q "%dir%"
md "%dir%\"
set dir=Reference\Basic\Model
echo 清空%dir%"
rd /s /q "%dir%"
md "%dir%\"
set dir=Reference\Basic\Service
echo 清空%dir%"
rd /s /q "%dir%"
md "%dir%\"
set dir=Reference\Business\Controls
echo 清空%dir%"
rd /s /q "%dir%"
md "%dir%\"
set dir=Reference\Business\Model
echo 清空%dir%"
rd /s /q "%dir%"
md "%dir%\"
set dir=Reference\Business\Repository
echo 清空%dir%"
rd /s /q "%dir%"
md "%dir%\"
set dir=Reference\Framework
echo 清空%dir%"
rd /s /q "%dir%"
md "%dir%\"
echo 清理完成。
rem Pause