Home > Common Problem > body text

How to clean software junk files in win10

王林
Release: 2023-07-08 22:41:37
forward
1116 people have browsed it

When we install some software on a win10 computer, some rogue software is often automatically installed inexplicably. After uninstalling it, restart the computer and install it again. How should we clean up such rogue software? Woolen cloth? The editor below will share with you a method to clean up junk in Windows 10 system.

1. Make a [Clear System Junk.bat] file to clear system junk and copy the following content into Notepad:

@echo off

pause

echo Cleaning up system junk files, 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 Settings\Temporary Internet Files\*.*"

del /f /s /q "%userprofile%\Local Settings\Temp\*.*"

del /f /s /q "%userprofile%\recent\*.*"

echo Cleaning up system junk is complete!

echo. & pause

How to clean software junk files in win10

2. Click [File] in the upper left corner of Notepad and click [Save As] in the drop-down menu.

How to clean software junk files in win10

#3. In the open Save As window, first click [Desktop] on the left side of the window, and enter in the file name (N) column: Clear System Junk.bat , then click: Save.

How to clean software junk files in win10

#4. When we need to clear system junk, double-click the [Clear System Junk] icon on the desktop.

How to clean software junk files in win10

5. At this time, a C:\Windows\system32\cma.exe window opens, displaying:

Please press any key to continue...

We press the "space bar" on the keyboard.

How to clean software junk files in win10

#6. System garbage is being cleared, please wait.

How to clean software junk files in win10

7. Cleaning up system junk is completed, please press any key to continue... We then press the "space bar" on the keyboard to exit C:\Windows\system32 \cma.exe window.

How to clean software junk files in win10

The above is a method and step to clear the win10 system junk. If you are interested, you can try this method.

The above is the detailed content of How to clean software junk files in win10. For more information, please follow other related articles on the PHP Chinese website!

source:windows7en.com
Statement of this Website
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 [email protected]
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!