Home  >  Article  >  Operation and Maintenance  >  How to clean win10c disk to be the cleanest

How to clean win10c disk to be the cleanest

藏色散人
藏色散人Original
2020-03-10 10:29:2620750browse

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

How to clean win10c disk to be the cleanest

Step 2: Then add the suffix name of the TXT text document to .txt Change to .bat

How to clean win10c disk to be the cleanest

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.

How to clean win10c disk to be the cleanest

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:How to enter pe mode?Next article:How to enter pe mode?