First create a batch cleanup junk file. bat file, and then add the following code
The code is as follows |
Copy Code |
@echo off ECHO is clearing the system garbage file, please wait ... del/f/s/q%systemdrive%*.tmp del/f/s/q%SYSTEMDRIVE%*._MP del/f/s/q%systemdrive%*.log del/f/s/q%systemdrive%*.gid del/f/s/q%systemdrive%*.chk del/f/s/q%systemdrive%*.old del/f/s/q%systemdrive%recycled*.* del/f/s/q%windir%*.bak del/f/s/q%windir%prefetch*.* RD/S/q%windir%temp & MD%windir%temp del/f/q%userprofile%cookies*.* del/f/q%userprofile%recent*.* del/f/s/q "%userprofile%local settingstemporary Internet files*.*" del/f/s/q "%userprofile%local settingstemp*.*" del/f/s/q "%userprofile%recent*.*" echo clearance System, LJ, complete! Echo. & Pause |
So click to save, we double-click the file can be done to clean up the system of garbage files, of course, we can also add this file in the system automatically start, every time you run this file
methods: the "batch processing clean up garbage file, bat" Drag to You "Start-> program-> start" under.
Batch cleanup garbage file is not enough, he has a lot of files can not be cleared, such as
1. Web-generated spam files-your current installation of the browser generated by the garbage files, you can use this feature for garbage cleanup, to support multiple browsers to clean up junk files.
2. Watch video and listen to music generated by the cache-QQ music, Microsoft's own player and other video and player can use the garbage cleanup function to solve the problem.
3.windows system-generated spam files-includes trash files such as Recycle Bin, User temp folder, thumbnail cache, Windows error report, Windows Update patches, and so on.
4. Other common software generated spam files-bug fixes, Offcie installation cache files can be garbage files
If you want to clean up these junk files we can use some computer management, if antivirus software Jinshan, 360,qq computer housekeeper and so on