search
HomeSystem TutorialWindows SeriesC drive junk cleaning guide: Detailed steps to completely clean up C drive junk

C drive junk cleaning guide: Detailed steps to completely clean up C drive junk

Jan 15, 2024 pm 03:21 PM
C driveclean up rubbishClean up c driveClean up the trash thoroughly

When we use the computer, we will feel that the computer's response speed is slower after a long time. This is mainly caused by the accumulation of too much garbage on the c drive. When the cache of software and web browsing accumulates to a certain amount, it will Make the computer run slowly. So how to clean up the C drive garbage? Below, the editor will share with you the steps to completely clean up the C drive junk.

When using a computer, you will feel that the computer's response speed is slower after a long time. Therefore, surfing the Internet every day will bring a lot of temporary files to the computer. If these junk files are not cleaned up, they will affect the computer over time. operating speed. So how to quickly clean up C drive junk? Below, the editor will explain to you how to completely clean up the C drive junk.

How to completely clean up the c drive garbage

I wrote a bunch of code. The code is as follows:

@echo off

echo is clearing 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 Clear System LJ is completed!

echo. & pause

Copy the code into a text document, and then change the save as file name to LJ.bat.

怎么清理c盘垃圾 彻底清理c盘垃圾怎么操作


Clean up c drive picture-1

Then save the file to the desktop. Then click Open. You will see a series of windows for deleting junk files. This method is quite convenient and quick. However, be careful not to put important files on the C drive, otherwise they will be deleted and cannot be recovered!

怎么清理c盘垃圾 彻底清理c盘垃圾怎么操作


c Disk Picture-2

Method 2 (manually clean the disk)

Enter first my computer. Then click on C drive! Then select Properties and you will see a Disk Cleanup button. It’s worth cleaning up here, it’s best to turn off all programs. Otherwise the consequences will be serious.

怎么清理c盘垃圾 彻底清理c盘垃圾怎么操作


Clean up c drive Figure-3

Then the system will scan this drive for junk files. We can view the details of these files by clicking View Files.

怎么清理c盘垃圾 彻底清理c盘垃圾怎么操作


Completely clean up junk images-4

Click OK after selecting the files to be deleted.

怎么清理c盘垃圾 彻底清理c盘垃圾怎么操作


Clean up the junk picture-5

Then the system will delete the junk fragments from the disk.

怎么清理c盘垃圾 彻底清理c盘垃圾怎么操作


C drive picture-6

The above is the experience of completely cleaning up the C drive garbage.

The above is the detailed content of C drive junk cleaning guide: Detailed steps to completely clean up C drive junk. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:番茄系统家园. If there is any infringement, please contact admin@php.cn delete
Fedora 42 Joins the Windows Subsystem for LinuxFedora 42 Joins the Windows Subsystem for LinuxMay 09, 2025 am 03:01 AM

Pushing the boundaries of Linux: exploring unusual applications. Purely for fun, of course. Posts 7 Technically, you can create a WSL image for any compatible Linux distribution. However, officially supported images offer a significantly smoother e

How to Move a Window When You Can't Click on the Title BarHow to Move a Window When You Can't Click on the Title BarMay 09, 2025 am 01:03 AM

When applications unexpectedly extend beyond your screen's edges, accessing their title bars becomes impossible. This is especially common with dual monitors but can occur on single displays as well. This guide offers solutions for regaining control

This Limited-Edition 'Skeleton” HDD Shows You How It Writes BytesThis Limited-Edition 'Skeleton” HDD Shows You How It Writes BytesMay 08, 2025 pm 09:04 PM

The HD-SKL, a limited-edition hard drive, is a modern take on Buffalo's 1998 Skeleton Hard Disk. The original, a 4.3GB drive with a clear acrylic case, was produced in a limited run of 500 units. While Buffalo cites its 1978 Melco 3533 turntable as

The New Surface Pro Doesn't Feel ProThe New Surface Pro Doesn't Feel ProMay 08, 2025 am 06:01 AM

The new Surface Pro: A step back? Microsoft's latest Surface Pro offers connectivity via two USB-C ports, supporting charging, USB 3.2 data transfer, and DisplayPort 1.4a (up to two 4K monitors at 60Hz). However, the device ships without a power ad

Microsoft Challenges the MacBook Air With New Surface LaptopMicrosoft Challenges the MacBook Air With New Surface LaptopMay 08, 2025 am 03:02 AM

Microsoft's latest Surface Laptop aims to rival the MacBook Air, but with some notable compromises. The absence of a Surface Connect port marks a significant departure from previous models, reflecting the growing prevalence of Thunderbolt and USB do

Solve the problem that the svn plugin in eclipse always prompts for password inputSolve the problem that the svn plugin in eclipse always prompts for password inputMay 07, 2025 pm 05:03 PM

1. Background Recently, when using the svn plug-in to manage remote warehouse code in eclipse, prompts to enter passwords are always prompted to enter passwords, which is particularly annoying. After hard work, I finally solved the problem and shared it with you~ 2. Analysis of the password mechanism of the svn plug-in and the cause of the problem. When we use the svn plug-in for the first time and enter the password, a file that saves the password will be generated, and then the svn plug-in will read the username and password information by default every time. When eclipse is started, the configuration information will be automatically read into the program cache. After the password of svn is modified, it is impossible to log in again, and there is no prompt to re-enter the password. At this time, we can delete the relevant configuration files and let the svn plugin prompt us to re-enter the password. However, ec

How to restore the win8 system details stepsHow to restore the win8 system details stepsMay 07, 2025 pm 05:00 PM

The steps to start system restore in Windows 8 are: 1. Press the Windows key X to open the shortcut menu; 2. Select "Control Panel", enter "System and Security", and click "System"; 3. Select "System Protection", and click "System Restore"; 4. Enter the administrator password and select the restore point. When selecting the appropriate restore point, it is recommended to select the restore point before the problem occurs, or remember a specific date when the system is running well. During the system restore process, if you encounter "The system restore cannot be completed", you can try another restore point or use the "sfc/scannow" command to repair the system files. After restoring, you need to check the system operation status, reinstall or configure the software, and re-back up the data, and create new restore points regularly.

'Modern Operating System Original Book 3rd Edition''Modern Operating System Original Book 3rd Edition'May 07, 2025 pm 04:57 PM

"Modern Operating Systems (English Edition 3rd Edition)" is a classic work written by Professor Tanenbaum. With his profound experience in the design of three operating systems, the book perfectly integrates theory and practice. The third edition of the book explores a number of topics in depth, such as process, threading, storage management, file systems, I/O deadlock, interface design, multimedia, performance trade-offs, and introduces the latest trends in operating system design. The book not only explains the principles and practices of modern operating systems in detail, but also pays special attention to Linux operating systems, Windows Vista operating systems, embedded operating systems, real-time operating systems and multimedia operating systems. Covering Windows Vista and the latest Linux/Unix operations

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use