How does Win8 use the batch process to delete the cache file

  

When the system cache accumulates to a certain extent, it will become a junk file, which also increases the burden on the system and slows down the running speed of the system, although it can be cleared by cleaning the software. These cache files, but there is a better way to quickly clean up the system cache without third-party software.

Win8 batch delete cache file method:

1, right click on the Windows8 desktop to create a new text file ”.

2. Copy the following code and paste it into Notepad.

@echo off

color 1e

for /rc:\\ %%a in (*.tmp *.chk *.gid *._mp *.old *. Bak *.log) do del /f /s /q “%%a”

for /rc:\\windows\\temp %%a in (*.*) do del /f /s /q “%%a”

for /rc:\\windows\\Prefetch %%a in (*.*) do del /f /s /q “%%a”

for /r %userprofile%\\AppData\\Local\\Temp %%a in (*.*) do del /f /s /q “%%a”

for /r “%localappdata%\\Microsoft \\Windows\\Temporary Internet Files&quoquo; %%a in (*.*) do del /f /s /q “%%a”

for /r %localappdata%\\Microsoft\\Windows\\History %% a in (*.*) do del /f /s /q “%%a”

for /r %appdata%\\Microsoft\\Windows\\Cookies %%a in (*.*) do del /f /s /q “%%a”

for /r %windir%\\SoftwareDistribution\\Download %%a in (*) do del /f /s /q “%%a”< Br>

for /r “%windir%\\Downloaded Program Files” %%a in (*) Do del /f /s /q “%%a”

for /r %windir%\\System32\\LogFiles %%a in (*) do del /f /s /q “%%a&rdquo ;

del /f /s /q %systemdrive%\\hiberfil.sys

pause & exit

Pressing any key will exit

3. Change the "Notepad" suffix name to “.bat”.

4, and finally double-click "ld." bat & rdquo; run the file.

Just copy the above code to Notepad, rename it and run it to achieve the effect of quickly deleting the Win8 system cache file. The most convenient way to do this is to use third-party software.

Copyright © Windows knowledge All Rights Reserved