Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to safely remove the garbage from disk C

2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article mainly introduces "how to remove the garbage of disk C safely". In the daily operation, I believe that many people have doubts about how to remove the garbage of disk C safely. The editor consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubt of "how to remove the garbage of disk C safely"! Next, please follow the editor to study!

Create a new notepad and enter the following:

The code is as follows:

@ echo off

Echo is cleaning up junk files on the system. Please wait a moment.

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 clearance system complete!

Echo. & pause

Open or notepad to see clearly here and finally save it, and then change the name to "clear system .bat"

Ok! That's how your scavenger was made!

In the future, just double-click to run the file, when the screen prompt "clear the system is complete!" you will have a "slim" system! then take a look at your computer, is it flying fast?

It is true that a lot of junk files can be cleaned up, but after I try, it seems that the database connection driver in the IIS service has been deleted, which will cause errors in ASP programs whenever database connections are involved:

At this point, the study on "how to safely remove the garbage from disk C" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report