-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathClearCache (2).bat
19 lines (17 loc) · 1000 Bytes
/
ClearCache (2).bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
@echo off
Echo ‡ ªàë¢ ¥¬ 1á!!!!
ping 127.0.0.1 -n 3 >nul
@taskkill /fi "username eq %USERNAME%" /im 1cv8.exe>nul
Echo †¤¥¬ 10 ᥪã¤!!!
@taskkill /f /fi "username eq %USERNAME%" /im 1cv8.exe>nul
@TIMEOUT /T 10 /NOBREAK
@If Exist %USERPROFILE%\AppData\Roaming\1C\1Cv82 (
for /d %%i in ("%USERPROFILE%\AppData\Roaming\1C\1Cv82\????????-????-????-????-????????????") do rd /s /q "%%i"
for /d %%i in ("%USERPROFILE%\AppData\Local\1C\1Cv8\????????-????-????-????-????????????") do rd /s /q "%%i"
for /d %%i in ("%USERPROFILE%\AppData\Local\1C\1Cv82\????????-????-????-????-????????????") do rd /s /q "%%i"
)
@If Exist %USERPROFILE%\AppData\Roaming\1C\1Cv8 (
for /d %%i in ("%USERPROFILE%\AppData\Roaming\1C\1Cv8\????????-????-????-????-????????????") do rd /s /q "%%i"
for /d %%i in ("%USERPROFILE%\AppData\Local\1C\1Cv8\????????-????-????-????-????????????") do rd /s /q "%%i"
for /d %%i in ("%USERPROFILE%\AppData\Local\1C\1Cv82\????????-????-????-????-????????????") do rd /s /q "%%i"
)