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 system. Although it can be cleared by cleaning the software. But there is a better way to quickly clean up the system cache without third-party software.
Win8 batch processing method to delete the cache file:
1, right click on the Windows8 desktop to create a new text file ”.
2, copy the following code into the notebook.
@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  quo;%localappdata%\\Microsoft\\Windows\\Temporary Internet Files quo; %%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”
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”
del /f /s /q %systemdrive%\\hiberfil.sys
pause & exit
Click any key to quit
3, will “Notepad” suffix Change the name to “.bat”.
4, and finally double-click ".bat"; run the file.
As long as the above code is copied to Notepad, after renaming it, you can 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