1. Right-click on a blank space on the desktop and select New Text Document
(Recommended study: java introductory tutorial )
2. Copy the following code into the text document:
@echo off 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 %windir%\*.bak del/f/q %systemdrive%\recycled\*.* del/f/q %windir%\prefetch\*.* rd/s/q %windir%\temp & md %windir%\tempemp% &md %temp% del/f/q %userprofile%\cookies\*.* del/f/q %userprofile%\recent\*.* rd/s/q \“%userprofile%\Local Settings\Temporary Internet Files\” cls & echo 系统垃圾清除完成:) echo. & pause
3. Click the file in the upper left corner and select Save as to desktop. Then save the file in .bat format (change the file name suffix to .bat)
4. Open the .bat file just saved to clean the registry
Related tutorial recommendations: windows tutorial
The above is the detailed content of How to clean the built-in registry in win10 system. For more information, please follow other related articles on the PHP Chinese website!