-
Notifications
You must be signed in to change notification settings - Fork 0
/
Temp Cleaner v1.bat
250 lines (172 loc) · 6.67 KB
/
Temp Cleaner v1.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
@echo off
echo Starting cleanup of temporary files and caches...
:: Delete temporary files
echo Deleting user temp files...
del /q /f "%TEMP%\*.*"
rd /s /q "%TEMP%"
echo Deleting Windows temp files...
del /q /f "C:\Windows\Temp\*.*"
rd /s /q "C:\Windows\Temp"
:: Delete Prefetch files (optional, use with caution)
echo Deleting Prefetch files...
del /q /f "C:\Windows\Prefetch\*.*"
rd /s /q "C:\Windows\Prefetch"
:: Delete launcher caches
echo Deleting Epic Games Launcher cache...
rd /s /q "%LOCALAPPDATA%\EpicGamesLauncher\Saved\webcache"
echo Deleting Steam cache...
rd /s /q "%LOCALAPPDATA%\Steam\htmlcache"
echo Deleting Ubisoft Connect cache...
rd /s /q "%LOCALAPPDATA%\Ubisoft Game Launcher\cache"
echo Deleting GOG Galaxy cache...
rd /s /q "%LOCALAPPDATA%\GOG.com\Galaxy\logs"
rd /s /q "%LOCALAPPDATA%\GOG.com\Galaxy\cache"
:: Delete browser caches
echo Deleting Firefox cache...
rd /s /q "%APPDATA%\Mozilla\Firefox\Profiles\*\cache2"
rd /s /q "%LOCALAPPDATA%\Mozilla\Firefox\Profiles\*\cache2"
echo Deleting Opera cache...
rd /s /q "%APPDATA%\Opera Software\Opera Stable\Cache"
echo Deleting Chrome cache...
rd /s /q "%LOCALAPPDATA%\Google\Chrome\User Data\Default\Cache"
echo Deleting Edge cache...
rd /s /q "%LOCALAPPDATA%\Microsoft\Edge\User Data\Default\Cache"
echo Deleting Brave browser cache...
rd /s /q "%LOCALAPPDATA%\BraveSoftware\Brave-Browser\User Data\Default\Cache"
:: Delete additional app caches
echo Deleting Discord cache...
rd /s /q "%APPDATA%\Discord\Cache"
rd /s /q "%LOCALAPPDATA%\Discord\Cache"
echo Deleting Skype cache...
rd /s /q "%APPDATA%\Skype\*"
echo Deleting Teams cache...
rd /s /q "%APPDATA%\Microsoft\Teams\Cache"
echo Deleting Adobe Reader cache...
rd /s /q "%APPDATA%\Adobe\Acrobat\DC\Cache"
echo Deleting Microsoft Office cache...
rd /s /q "%LOCALAPPDATA%\Microsoft\Office\16.0\OfficeFileCache"
echo Deleting Zoom cache...
rd /s /q "%APPDATA%\Zoom\bin"
rd /s /q "%LOCALAPPDATA%\Zoom\*"
echo Deleting Dropbox cache...
rd /s /q "%APPDATA%\Dropbox\cache"
rd /s /q "%LOCALAPPDATA%\Dropbox\cache"
echo Deleting Viber cache...
rd /s /q "%LOCALAPPDATA%\ViberPC\cache"
echo Deleting Telegram cache...
rd /s /q "%APPDATA%\Telegram Desktop\*"
echo Deleting WhatsApp cache...
rd /s /q "%LOCALAPPDATA%\WhatsApp\*"
echo Deleting uTorrent cache...
rd /s /q "%APPDATA%\uTorrent\*"
echo Deleting qBittorrent cache...
rd /s /q "%APPDATA%\qBittorrent\*"
echo Deleting Adobe Photoshop cache...
rd /s /q "%APPDATA%\Adobe\Adobe Photoshop\*"
echo Deleting Epic Games cache...
rd /s /q "%LOCALAPPDATA%\Epic Games\*"
echo Deleting WinRAR cache...
rd /s /q "%APPDATA%\WinRAR\*"
echo Deleting VirtualBox cache...
rd /s /q "%LOCALAPPDATA%\VirtualBox\*"
echo Deleting CCleaner cache...
rd /s /q "%APPDATA%\Piriform\CCleaner\*"
echo Deleting iTunes cache...
rd /s /q "%APPDATA%\Apple Computer\iTunes\*"
echo Deleting Battle.net cache...
rd /s /q "%LOCALAPPDATA%\Blizzard Entertainment\Battle.net\Cache"
echo Deleting Origin cache...
rd /s /q "%LOCALAPPDATA%\Origin\Cache"
echo Deleting Visual Studio cache...
rd /s /q "%LOCALAPPDATA%\Microsoft Visual Studio\Cache\*"
echo Deleting Visual Studio Code cache...
rd /s /q "%APPDATA%\Code\*"
echo Deleting GitHub Desktop cache...
rd /s /q "%APPDATA%\GitHubDesktop\*"
echo Deleting Notepad++ cache...
rd /s /q "%APPDATA%\Notepad++\*"
echo Deleting Adobe Premiere cache...
rd /s /q "%APPDATA%\Adobe\Premiere Pro\*"
echo Deleting Adobe After Effects cache...
rd /s /q "%APPDATA%\Adobe\After Effects\*"
echo Deleting IntelliJ IDEA cache...
rd /s /q "%APPDATA%\JetBrains\IntelliJIdea\*"
echo Deleting PyCharm cache...
rd /s /q "%APPDATA%\JetBrains\PyCharm\*"
echo Deleting 7-Zip cache...
rd /s /q "%APPDATA%\7-Zip\*"
echo Deleting Slack cache...
rd /s /q "%APPDATA%\Slack\Cache"
echo Deleting Microsoft Edge Dev cache...
rd /s /q "%LOCALAPPDATA%\Microsoft\Edge Dev\User Data\Default\Cache"
echo Deleting Mozilla Thunderbird cache...
rd /s /q "%APPDATA%\Thunderbird\Profiles\*\cache2"
echo Deleting Opera GX cache...
rd /s /q "%APPDATA%\Opera Software\Opera GX Stable\Cache"
echo Deleting WhatsApp Desktop cache...
rd /s /q "%LOCALAPPDATA%\WhatsApp\Cache"
echo Deleting uTorrent cache...
rd /s /q "%APPDATA%\uTorrent\*"
echo Deleting BitTorrent cache...
rd /s /q "%APPDATA%\BitTorrent\*"
echo Deleting Adobe Lightroom cache...
rd /s /q "%APPDATA%\Adobe\Lightroom\*"
echo Deleting AVG cache...
rd /s /q "%APPDATA%\AVG\*"
echo Deleting Avast cache...
rd /s /q "%APPDATA%\Avast Software\Avast\*"
echo Deleting Vivaldi browser cache...
rd /s /q "%LOCALAPPDATA%\Vivaldi\User Data\Default\Cache"
echo Deleting AIMP cache...
rd /s /q "%APPDATA%\AIMP\*"
echo Deleting Winamp cache...
rd /s /q "%APPDATA%\Winamp\*"
echo Deleting Audacity cache...
rd /s /q "%APPDATA%\Audacity\*"
echo Deleting Fraps cache...
rd /s /q "%APPDATA%\Fraps\*"
echo Deleting Camtasia cache...
rd /s /q "%APPDATA%\TechSmith\Camtasia Studio\*"
echo Deleting CorelDRAW cache...
rd /s /q "%APPDATA%\Corel\CorelDRAW Graphics Suite\*"
echo Deleting Microsoft OneDrive cache...
rd /s /q "%LOCALAPPDATA%\Microsoft\OneDrive\*"
echo Deleting Spotify cache...
rd /s /q "%APPDATA%\Spotify\*"
echo Deleting Google Earth cache...
rd /s /q "%APPDATA%\Google\Google Earth\*"
echo Deleting SteamVR cache...
rd /s /q "%LOCALAPPDATA%\Steam\config\steamvr"
echo Deleting Origin cache...
rd /s /q "%LOCALAPPDATA%\Electronic Arts\EA Games\*"
echo Deleting Battle.net Launcher cache...
rd /s /q "%APPDATA%\Battle.net\*"
echo Deleting TeamSpeak cache...
rd /s /q "%APPDATA%\TeamSpeak\*"
echo Deleting Epic Games web cache...
rd /s /q "%LOCALAPPDATA%\EpicGamesLauncher\Saved\webcache"
echo Deleting Uplay cache...
rd /s /q "%LOCALAPPDATA%\Ubisoft Game Launcher\cache"
echo Deleting Adobe Acrobat Reader cache...
rd /s /q "%APPDATA%\Adobe\Acrobat\DC\Cache"
echo Deleting Notepad++ cache...
rd /s /q "%APPDATA%\Notepad++\*"
echo Deleting WinZip cache...
rd /s /q "%APPDATA%\WinZip\*"
echo Deleting Dropbox cache...
rd /s /q "%LOCALAPPDATA%\Dropbox\Cache"
echo Deleting Acronis True Image cache...
rd /s /q "%APPDATA%\Acronis\TrueImage\*"
echo Deleting Razer Synapse cache...
rd /s /q "%APPDATA%\Razer\Synapse\*"
echo Deleting Corsair iCUE cache...
rd /s /q "%APPDATA%\Corsair\iCUE\*"
echo Deleting MSI Afterburner cache...
rd /s /q "%APPDATA%\MSI Afterburner\*"
echo Deleting Logitech G Hub cache...
rd /s /q "%APPDATA%\LGHUB\*"
echo Deleting Discord voice cache...
rd /s /q "%APPDATA%\Discord\voice"
:: Completion
echo Cleanup completed! All specified caches and temporary files have been deleted.
pause