-
Notifications
You must be signed in to change notification settings - Fork 91
/
clean.bat
35 lines (31 loc) · 889 Bytes
/
clean.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
@echo off
setlocal enabledelayedexpansion
echo ----------------------------------------------------
echo Clear File
echo Delete all files with ending:
echo *.aps *.idb *.ncp *.obj *.pch *.tmp *.sbr *.suo *.sdf *.suo
echo Visual c++/.Net junk
echo ----------------------------------------------------
echo waitting 6s...
ping 127.0.0.1 -n 6 >nul
echo deleting complied files...
rmdir /s/q %~dp0ThirdFunc\boost_1_60_0
rmdir /s/q %~dp0ThirdFunc\openssl-1.1.1a
del /F /Q /S *.aps *.idb *.ncp *.obj *.pch *.sbr *.user *.tmp *.pdb *.bsc *.ilk *.res *.ncb *.opt *.suo *.manifest *.dep *.sdf *.suo
set b=.*/-\ /-\ *
set ËÙ¶È=1
set Í˸ñ=
:b
for /l %%i in (100,-1,1) do (
call :a %%i
)
:a
set/a a=%1%%10
set/a c=%a%%%4
if %a% EQU 0 set/p=.<nul
if %c% EQU 3 (set/p=^|<nul) else (set/p=!b:~%a%,1!<nul)
ping -n %ËÙ¶È% 127.1>nul
set/p=%Í˸ñ%<nul
if errorlevel 1 (
goto :eof
)