Home > Article > Operation and Maintenance > How to clean win10c disk to be the cleanest
How to clean the win10c disk to its cleanest state?
Method: A simple, direct and crude one-click method to clean up system junk - bat to clean up C drive space junk
Step 1: Create a bat file to clean up system junk with one click. Create a new txt text document on the computer desktop, copy the following content into the txt text document and save it
@echo off echo 正在清除系统垃圾文件,请稍等...... 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 Settings\Temporary Internet Files\*.*" del /f /s /q "%userprofile%\Local Settings\Temp\*.*" del /f /s /q "%userprofile%\recent\*.*" echo 一键清理系统垃圾完成! echo. & pause
Step 2: Then add the suffix name of the TXT text document to .txt Change to .bat
Step 3: Double-click the left mouse button to run. After 2--3 minutes, you will be prompted to complete the one-click cleanup of system garbage and close the window. At this point, Cleaning up C drive space garbage is completed.
The above is the detailed content of How to clean win10c disk to be the cleanest. For more information, please follow other related articles on the PHP Chinese website!