中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-10 10:00
47,811 topics / 349,897 posts / today 0 new / 48,255 members
DOS批处理 & 脚本技术(批处理室) » [Original] 30-second System Junk Cleanup
Printable Version  3,516 / 8
Floor1 clian76 Posted 2008-11-11 15:24
中级用户 Posts 162 Credits 363
I believe many netizens have this kind of batch processing in their computers. The ones found online are generally just a few lines. The one I wrote cleans more comprehensively. There is an attachment, which can be downloaded directly.

Function:
Empty the recycle bin of all hard disk partitions.
Delete *.tmp *._mp *.gid *.chk *.old in the system partition.
Delete *.log *.bak in the WINDOWS directory.
Empty the system garbage storage directory "%windir%\prefetch\*".
Empty cookies.
Clear the recently opened file records.
Empty the WINDOWS temporary directory.
Clear the redundant system startup items (only keep the input method CTFMON).
Clear the IE internet temporary files.
Clear the system TEMP files.
Clear the usage records of the start menu.
Clear the usage records of "Run", "Search", etc.



[ Last edited by clian76 on 2008-11-11 at 18:40 ]

Attachments
系统垃圾文件清理.rar (1.26 KiB)
Floor2 yishanju Posted 2008-11-11 15:29
银牌会员 Posts 1,357 Credits 1,488
I'm really annoyed when people in the company use these scripts. After they use them and something unexpected happens, then I've got work to do. I want to bite anyone who sends these scripts.
Floor3 phlipd Posted 2008-11-11 16:36
新手上路 Posts 1 Credits 1
Thanks for sharing
Floor4 HAT Posted 2008-11-11 17:28
版主 Posts 5,017 Credits 9,023
Reference: Deleting system junk with batch processing is actually junk itself
http://user.qzone.qq.com/276902008/blog/1216130288
Floor5 yishanju Posted 2008-11-11 17:31
银牌会员 Posts 1,357 Credits 1,488
Kaka, HAT has also started promoting QQ Space.
Floor6 clian76 Posted 2008-11-11 17:36
中级用户 Posts 162 Credits 363
What Boss HAT said is indeed an issue. I've only encountered the situation of mistakenly deleting LOG files, so here I only clear the LOG files in the %WINDIR% folder, which has no impact on the uninstaller. This P processing is to clean up traces and junk files, so its function has been achieved : )
Floor7 pigpigs Posted 2008-11-11 17:51
初级用户 Posts 28 Credits 41
This one seems to have more content than the others.
Floor8 Saber Posted 2008-11-11 18:11
初级用户 Posts 14 Credits 26
This type of batch processing is still better to write for yourself according to your own actual situation.
Floor9 clian76 Posted 2008-11-11 18:38
中级用户 Posts 162 Credits 363
Originally posted by pigpigs at 2008-11-11 05:51 PM:
This one seems to be more comprehensive than others in terms of content.

Clear all hard disk partition recycling bins.
Delete *.tmp *._mp *.gid *.chk *.old in the system partition.
Delete *.log *.bak in the WINDOWS directory.
Empty the system junk storage directory "%windir%\prefetch\*".
Empty cookies.
Clear the recent opened file records.
Empty the WINDOWS temporary directory.
Clear the redundant system startup items (leave only the input method CTFMON).
Clear the IE internet temporary files.
Clear the system TEMP files.
Clear the usage records in the Start menu.
Clear the usage records of "Run", "Search", etc.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023