In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly introduces how to achieve the batch processing of garbage files in the system, which has a certain reference value. Interested friends can refer to it. I hope you will gain a lot after reading this article. Let the editor take you to know it.
"clear system garbage. Bat", "clear.bat", "one-click remove system garbage. Bat", "30 seconds clear system garbage. Bat", "quickly remove system garbage. Bat"
Basically, what is found is a file, but there are also many deficiencies or areas that need to be improved, but most people do not understand the DOS command, so there is little chance of being changed. Here are the problems I found and their improvements, which can be said to be a perfect version.
Found on the Internet, modified a line to resolve the ASP+ACCESS error: "Microsoft JET Database Engine error '80004005' unspecified error"
The principle of this process is to delete the temporary directory of the system and re-establish it. This process does not add the original permissions of this temporary folder, the general program is fine, but the ASP+access program will have a problem. If this problem has already occurred, you can solve it like this: add permission to modify the users user of this folder.
The code is as follows:
Rem temporary files (e.g. * .tmp, *. _ mp) log files (* .log), temporary help files (* .gid), disk check files (* .chk), temporary backup files (e.g. * .old, * .bak)
Rem systemdrive% is the system disk, windir% is the system folder, userprofile% current user folder, recent is the most recently browsed document
Rem del / f / s / Q% windir%\ prefetch\ *.
The line above rem deletes the "system preload" file. Generally, do not delete it.
Rem rd / s / Q% windir%\ temp & md% windir%\ temp
The operation of the previous line of rem will change the properties of the folder, which will affect the asp+access program, so it has been commented out and replaced with the following. The disadvantage is that the folder under this folder cannot be deleted, but all the files have been deleted.
Rem's newly added cleanup C: temporary files generated by the MSN user experience improvement Program in the root directory
Rem del / f / a / Q% systemdrive%\ * .sqm
Rem is removed, the following line, today when installing DNS in the control panel prompted to sp2 CD, plug in my CD-ROM will not work. It seems that you must look in the folder below. Although most people will not use it, it is better not to delete this.
Rem del / f / s / Q% windir%\ ServicePackFiles\ *.
Rem removed, the following line, although there is nothing in the legend, but nothing, does not mean that there will be nothing, the system often goes wrong, you can delete things under this folder, the system will be rebuilt.
Rem del / f / s / Q% windir%\ SoftwareDistribution\ Download\ *.
Rem removed the following line, because: some installation information will be put here, delete, then there will be a lot of trouble when uninstalling the software, and, if you are using in the server, these records can never be deleted, log files are very important.
Rem del / f / s / Q% systemdrive%\ * .log
This is a more classic version, which has been deleted and modified many times on the basis of popularity on the Internet. basically, it can be said to be the perfect version. Copy the following black background text into the text file and save it as "remove system garbage .bat", "remove system garbage File .bat", clear.bat ", etc., any name you can read. In the future, when you want to remove the garbage from the system, you can double-click it directly, instead of looking for it one by one.
The following is the best version available:
The code is as follows:
@ echo off
Title Liu Yongfa special garbage removal tool, is in the process of cleaning.
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%\ * .gid
Del / f / s / Q% systemdrive%\ * .chk
Del / f / s / Q% systemdrive%\ * .old
Del / f / s / Q% windir%\ * .bak
Del / f / s / Q% windir%\ temp\ *.
Del / f / a / Q% systemdrive%\ * .sqm
Del / f / s / Q% windir%\ SoftwareDistribution\ Download\ *.
Del / f / s / Q "% userprofile%\ cookies\ *. *"
Del / f / s / Q "% userprofile%\ recent\ *. *"
Del / f / s / Q "% userprofile%\ local settings\ temporary internet files\ *. *"
Del / f / s / Q "% userprofile%\ local settings\ temp\ *. *"
Echo clear system junk files complete!
Echo. & pause
But then we usually use this.
The code is as follows:
@ echo off
Color f0
Echo.
Echo is safely automatically cleaning up junk files.
Del / f / Q% systemdrive%\ * .tmp > nul 2 > nul
Del / f / Q% systemdrive%\ *. _ mp > nul 2 > nul
Del / f / Q% systemdrive%\ * .log > nul 2 > nul
Del / f / Q% systemdrive%\ * .gid > nul 2 > nul
Del / f / Q% systemdrive%\ * .chk > nul 2 > nul
Del / f / Q% systemdrive%\ * .old > nul 2 > nul
Del / f / Q% windir%\ * .bak > nul 2 > nul
Del / f / Q% windir%\ * .tmp > nul 2 > nul
Del / f / Q% windir%\ prefetch\ *. * > nul 2 > nul
Del / f / s / Q% systemdrive%\ recycled\ *.
Del / f / Q "% ALLUSERSPROFILE%\ Documents\ DrWatson\ *. *" > nul 2 > nul
Del / f / Q "% USERPROFILE%\ Cookies\ * .txt" > nul 2 > nul
Del / f / Q / s "% TEMP%\ *. *" > nul 2 > nul
Del / f / Q / s "% Systemroot%\ Prefetch\ *. *" > nul 2 > nul
Del / f / Q "% USERPROFILE%\ Recent\ *. *" > nul 2 > nul
Del / f / Q "% USERPROFILE%\ Application Data\ Microsoft\ Office\ Recent\ * .lnk" > nul 2 > nul
Del / f / Q / s "% USERPROFILE%\ Local Settings\ Temp\ *. *" > nul 2 > nul
Rd / s / Q% windir%\ temp & md% windir%\ temp > nul 2 > nul
If not exist% SystemRoot%\ Minidump\ NUL del / f / Q / s% SystemRoot%\ Minidump\ *. * > nul 2 > nul
Del / f / s / Q "% userprofile%\ Local Settings\ Temporary Internet Files\ *. *" > nul 2 > nul
Thank you for reading this article carefully. I hope the article "how to realize the batch processing of garbage files in the system" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.