Homemade garbage batch processing software

Source: Internet
Author: User
Tags prefetch security essentials


Self-editing software, open Notepad, copy the following to the text box to save, save the type of all files, all files, the name of the garbage disposal. bat. It's important to point to bat or it doesn't work, it feels better than or something. The code is below.
Cls
@echo off

echo System Garbage Cleanup
echo includes IE, software, etc.
Echo Loading ...
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%\*.syd
del/f/s/q%systemdrive%\recycled\*.*
del/f/s/q%windir%\*.bak
echo Clean IE files, software, etc.
del/f/s/q%windir%\prefetch\*.*
RD/S/q%windir%\temp & MD%windir%\temp
del/f/s/q%windir%\temp\*.*
del/f/s/q "%appdata%\microsoft\windows\cookies\*.*"
del/f/q%userprofile%\recent\*.*
del/f/s/q "%userprofile%\local settings\temporary Internet files\*.*"
del/f/s/q "%userprofile%\appdata\local\microsoft\windows\temporary Internet files\*.*"
del/f/s/q "%USERPROFILE%\Local settings\temp\*.*"
del/f/s/q "%userprofile%\recent\*.*"
del/f/s/q%windir%\softwaredistribution\download\*.*
del/f/s/q "%appdata%\microsoft\windows\recent\*.*"
RD/S/q "%userprofile%\local settings\temp\" & MD "%USERPROFILE%\Local settings\temp\"
del/f/s/q "%USERPROFILE%\Application data\ppstream\*.*"
del/f/s/q "%userprofile%\appdata\roaming\ppstream\*.*"
del/f/s/q "%userprofile%\appdata\roaming\theworld\data\*.*"
del/f/s/q "%USERPROFILE%\Application data\pplive\*.*"
del/f/s/q "%userprofile%\appdata\roaming\pplive\*.*"
del/f/s/q "%userprofile%\appdata\local\microsoft\windows\explorer\*.*"
del/f/s/q "%windir%\offline Web pages\*.*
del/f/s/q "%userprofile%\updatedata\*.*"
del/f/s/q "%USERPROFILE%\Application data\qqupdate\*.*"
del/f/s/q "%progfile%\thunder network\thunder\program\update\*.*"
RD/S/q "%programfiles%\tencent\qqgame\download"
del/a/f/s/q "%programfiles%\kaspersky lab\*.tmp"
del/a/f/s/q "%homedrive%\users\public\recorded tv\*.*"
del/a/f/s/q "%homedrive%\users\public\pictures\*.*"
del/a/f/s/q "%homedrive%\users\public\music\*.*"
del/a/f/s/q "%homedrive%\users\public\videos\*.*"
del/f/s/q "%SystemDrive%\Documents and Settings\All Users\Application Data\pplive\*.*"
RD/S/q "%SystemDrive%\Documents and Settings\All Users\Application Data\thunder_vod_cache\"
del/f/s/q "%SystemDrive%\Documents and Settings\All Users\Application Data\thunder_dctemp\*.*"
del/f/s/q "%SystemDrive%\Documents and Settings\Application Data\kaspersky Lab\avp8\data\*.*"
del/a/f/s/q "%homedrive%\pragramdata\all users\application Data\kaspersky lab\avp8\*.*"
del/f/s/q "%userprofile%\appdata\local\microsoft\windows Photo gallery\original images\*.*"
del/f/s/q "%userprofile%\appdata\roaming\kingsoft\kavrep\*.*"
del/f/s/q "%SystemDrive%\Documents and Settings\All Users\Application Data\kingsoft\kavrep\*.*"
del/f/s/q "%userprofile%\appdata\roaming\kingsoft\office6\backup\*"
del/f/s/q "%SystemDrive%\Documents and Settings\All Users\Application Data\microsoft\search\*.*"
del/f/s/q "%SystemDrive%\Documents and Settings\All Users\Application Data\Microsoft\Windows Defender\Backup\*.*"
del/f/s/q "%ProgramFiles%\Microsoft Security essentials\backup\*.*"
del/a/f/s/q "%USERPROFILE%\Application Data\sogoupy\sgim_ext.bin"
del/f/s/q "%userprofile%\appdata\locallow\sogoupy\sgim_ext.bin"
del/a/f/s/q "%SystemDrive%\Documents and Settings\All Users\Application Data\Microsoft\Microsoft Antimalware\ Localcopy\*.* "
del/a/f/s/q "%SystemDrive%\Documents and Settings\All Users\Application Data\Microsoft\Windows Defender\LocalCopy\*. *"
del/a/f/s/q "%homedrive%\users\public\thunder network\thunder_a30b0af7-d81b-464e-b4e4-4b6df996fb46_\*.*"
del/a/f/s/q "%homedrive%\users\public\thunder network\thunder_def2cf18-a4a5-468a-ade3-b410c49964bc_\temp\*.*"
del/a/f/s/q "%homedrive%\users\public\thunder network\thunder_xmp\*.*"

del/a/f/q "%SystemDrive%\Documents and Settings\administrator\application data\microsoft\internet Explorer\Quick Launch\ popular online movies. * "
del/a/f/q "%SystemDrive%\Documents and Settings\administrator\application data\microsoft\internet Explorer\Quick launch\ Cool Music Box. * "
del/a/f/q "%SystemDrive%\Documents and Settings\administrator\application data\microsoft\internet Explorer\Quick LAUNCH\UUSEE Internet TV. * "
del/a/f/q "%SystemDrive%\Documents and Settings\administrator\application data\microsoft\internet Explorer\Quick launch\ Check 2.0.* "

del/a/f/q "%SystemDrive%\Documents and settings\administrator\ desktop \ Multi-special software station."
del/a/f/q "%SystemDrive%\Documents and Settings\All Users\ Desktop \ Jinshan cleanup expert 2009.*"
del/a/f/q "%SystemDrive%\Documents and Settings\All Users\ desktop \ Jinshan Network Dart. *"
del/a/f/q "%SystemDrive%\Documents and Settings\All Users\ desktop \ Thunderbolt look-free HD video. *"
del/a/f/q "%SystemDrive%\Documents and settings\administrator\ desktop \ Chin Music. *"
del/a/f/q "%SystemDrive%\Documents and settings\administrator\ desktop \ Online Demo. *"
del/a/f/q "%SystemDrive%\Documents and settings\administrator\ desktop \ Cool game. *"
del/a/f/q "%SystemDrive%\Documents and settings\administrator\ desktop \ Multi-special software station."
del/a/f/q "%SystemDrive%\Documents and settings\administrator\ desktop \ Fix  security guard. *"
del/a/f/q "%SystemDrive%\Documents and Settings\All Users\ desktop \ Popular games. *"

del/a/f/q "%SystemDrive%\Documents and Settings\All users\" Start "menu \ Program \pplive\ latest free film and television. *"
del/a/f/q "%SystemDrive%\Documents and settings\administrator\" Start "menu \ Program \pplive\pplive home. *"
del/a/f/q "%programfiles%\ppliveva\ppliveva.url"
del/a/f/q "%programfiles%\pplive\pplive.url"
del/a/f/q "%SystemDrive%\Documents and settings\administrator\" Start "menu \ Program \security defender \ Repair  security defender. *
del/a/f/q "%SystemDrive%\Documents and Settings\All users\" Start "menu \ programs \ le fish av box \ Le fish av box home. *"

del/a/f/q "%SystemDrive%\Documents and settings\administrator\" Start "menu \ Program \PPS Network TV \ Multi-special know computer answers. *
del/a/f/q "%SystemDrive%\Documents and settings\administrator\" Start "menu \ Program \PPS network TV \ Download the latest version of the software. *
del/a/f/q "%SystemDrive%\Documents and settings\administrator\" Start "menu \ program \ Cool dog \ Multi-special know computer troubleshooting. *
del/a/f/q "%SystemDrive%\Documents and settings\administrator\" start "menu \ programs \ cool dog \ Download the latest version of the software. *
del/a/f/q "%SystemDrive%\Documents and settings\administrator\" Start "menu \ Program \microsoft Office\ access to the perfect boutique download station. *

del/a/f/q "D:\ My Documents \ Favorites \ Love Word Bully English learning community."
del/a/f/q "d:\ My Documents \favorites\qq URL Daquan."
del/a/f/q "D:\ My document \favorites\ love the word Bully English learning community. *
del/a/f/q "d:\ My Documents \favorites\ link \qq url daquan."
del/a/f/q "D:\ My Documents \favorites\ Golden Fox Computer Studio-jinhu computer studio.*"
del/a/f/q "D:\ My Documents \favorites\ search King-Search all.*"

del/a/f/q "%userprofile%\ favorites \ Love Word Bully English Learning community. *"
del/a/f/q "%USERPROFILE%\FAVORITES\QQ Web site Daquan. *"
del/a/f/q "%userprofile%\favorites\ Love English Learning community. *"
del/a/f/q "%userprofile%\favorites\ link \qq url daquan. *"
del/a/f/q "%userprofile%\favorites\ Golden Fox Computer Studio-jinhu computer studio.*"
del/a/f/q "%userprofile%\favorites\ Search-all.*"

del/a/f/q "%programfiles%\flashget network\flashget 3\ green download. *"
del/a/f/q "%SystemDrive%\Documents and settings\administrator\" Start "menu \ Program \ Express (FlashGet) \ Access free share green download bar!.*"

del/a/f/q "%programfiles%\stormii\ green download bar. *"
del/a/f/q "%SystemDrive%\Documents and settings\administrator\" start "menu \ programs \ storm audio \ Access free to share green download bar!.*"

del/a/f/q "%systemdrive%\windows\tasks\sogouimemgr.job"
Exit
Copy and paste the following code into the new text save, and modify the text suffix name ". txt" to ". Bat "
Cls
@echo off

echo System Garbage Cleanup
echo includes IE, software, etc.
Echo Loading ...
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%\*.syd
del/f/s/q%systemdrive%\recycled\*.*
del/f/s/q%windir%\*.bak
echo Clean IE files, software, etc.
del/f/s/q%windir%\prefetch\*.*
RD/S/q%windir%\temp & MD%windir%\temp
del/f/s/q%windir%\temp\*.*
del/f/s/q "%appdata%\microsoft\windows\cookies\*.*"
del/f/q%userprofile%\recent\*.*
del/f/s/q "%userprofile%\local settings\temporary Internet files\*.*"
del/f/s/q "%userprofile%\appdata\local\microsoft\windows\temporary Internet files\*.*"
del/f/s/q "%USERPROFILE%\Local settings\temp\*.*"
del/f/s/q "%userprofile%\recent\*.*"
del/f/s/q%windir%\softwaredistribution\download\*.*
del/f/s/q "%appdata%\microsoft\windows\recent\*.*"
RD/S/q "%userprofile%\local settings\temp\" & MD "%USERPROFILE%\Local settings\temp\"
del/f/s/q "%USERPROFILE%\Application data\ppstream\*.*"
del/f/s/q "%userprofile%\appdata\roaming\ppstream\*.*"
del/f/s/q "%userprofile%\appdata\roaming\theworld\data\*.*"
del/f/s/q "%USERPROFILE%\Application data\pplive\*.*"
del/f/s/q "%userprofile%\appdata\roaming\pplive\*.*"
del/f/s/q "%userprofile%\appdata\local\microsoft\windows\explorer\*.*"
del/f/s/q "%windir%\offline Web pages\*.*
del/f/s/q "%userprofile%\updatedata\*.*"
del/f/s/q "%USERPROFILE%\Application data\qqupdate\*.*"
del/f/s/q "%progfile%\thunder network\thunder\program\update\*.*"
RD/S/q "%programfiles%\tencent\qqgame\download"
del/a/f/s/q "%programfiles%\kaspersky lab\*.tmp"
del/a/f/s/q "%homedrive%\users\public\recorded tv\*.*"
del/a/f/s/q "%homedrive%\users\public\pictures\*.*"
del/a/f/s/q "%homedrive%\users\public\music\*.*"
del/a/f/s/q "%homedrive%\users\public\videos\*.*"
del/f/s/q "%SystemDrive%\Documents and Settings\All Users\Application Data\pplive\*.*"
RD/S/q "%SystemDrive%\Documents and Settings\All Users\Application Data\thunder_vod_cache\"
del/f/s/q "%SystemDrive%\Documents and Settings\All Users\Application Data\thunder_dctemp\*.*"
del/f/s/q "%SystemDrive%\Documents and Settings\Application Data\kaspersky Lab\avp8\data\*.*"
del/a/f/s/q "%homedrive%\pragramdata\all users\application Data\kaspersky lab\avp8\*.*"
del/f/s/q "%userprofile%\appdata\local\microsoft\windows Photo gallery\original images\*.*"
del/f/s/q "%userprofile%\appdata\roaming\kingsoft\kavrep\*.*"
del/f/s/q "%SystemDrive%\Documents and Settings\All Users\Application Data\kingsoft\kavrep\*.*"
del/f/s/q "%userprofile%\appdata\roaming\kingsoft\office6\backup\*"
del/f/s/q "%SystemDrive%\Documents and Settings\All Users\Application Data\microsoft\search\*.*"
del/f/s/q "%SystemDrive%\Documents and Settings\All Users\Application Data\Microsoft\Windows Defender\Backup\*.*"
del/f/s/q "%ProgramFiles%\Microsoft Security essentials\backup\*.*"
del/a/f/s/q "%USERPROFILE%\Application Data\sogoupy\sgim_ext.bin"
del/f/s/q "%userprofile%\appdata\locallow\sogoupy\sgim_ext.bin"
del/a/f/s/q "%SystemDrive%\Documents and Settings\All Users\Application Data\Microsoft\Microsoft Antimalware\ Localcopy\*.* "
del/a/f/s/q "%SystemDrive%\Documents and Settings\All Users\Application Data\Microsoft\Windows Defender\LocalCopy\*. *"
del/a/f/s/q "%homedrive%\users\public\thunder network\thunder_a30b0af7-d81b-464e-b4e4-4b6df996fb46_\*.*"
del/a/f/s/q "%homedrive%\users\public\thunder network\thunder_def2cf18-a4a5-468a-ade3-b410c49964bc_\temp\*.*"
del/a/f/s/q "%homedrive%\users\public\thunder network\thunder_xmp\*.*"

del/a/f/q "%SystemDrive%\Documents and Settings\administrator\application data\microsoft\internet Explorer\Quick Launch\ popular online movies. * "
del/a/f/q "%SystemDrive%\Documents and Settings\administrator\application data\microsoft\internet Explorer\Quick launch\ Cool Music Box. * "
del/a/f/q "%SystemDrive%\Documents and Settings\administrator\application data\microsoft\internet Explorer\Quick LAUNCH\UUSEE Internet TV. * "
del/a/f/q "%SystemDrive%\Documents and Settings\administrator\application data\microsoft\internet Explorer\Quick launch\ Check 2.0.* "

del/a/f/q "%SystemDrive%\Documents and settings\administrator\ desktop \ Multi-special software station."
del/a/f/q "%SystemDrive%\Documents and Settings\All Users\ Desktop \ Jinshan cleanup expert 2009.*"
del/a/f/q "%SystemDrive%\Documents and Settings\All Users\ desktop \ Jinshan Network Dart. *"
del/a/f/q "%SystemDrive%\Documents and Settings\All Users\ desktop \ Thunderbolt look-free HD video. *"
del/a/f/q "%SystemDrive%\Documents and settings\administrator\ desktop \ Chin Music. *"
del/a/f/q "%SystemDrive%\Documents and settings\administrator\ desktop \ Online Demo. *"
del/a/f/q "%SystemDrive%\Documents and settings\administrator\ desktop \ Cool game. *"
del/a/f/q "%SystemDrive%\Documents and settings\administrator\ desktop \ Multi-special software station."
del/a/f/q "%SystemDrive%\Documents and settings\administrator\ desktop \ Fix  security guard. *"
del/a/f/q "%SystemDrive%\Documents and Settings\All Users\ desktop \ Popular games. *"

del/a/f/q "%SystemDrive%\Documents and Settings\All users\" Start "menu \ Program \pplive\ latest free film and television. *"
del/a/f/q "%SystemDrive%\Documents and settings\administrator\" Start "menu \ Program \pplive\pplive home. *"
del/a/f/q "%programfiles%\ppliveva\ppliveva.url"
del/a/f/q "%programfiles%\pplive\pplive.url"
del/a/f/q "%SystemDrive%\Documents and settings\administrator\" Start "menu \ Program \ security defender \ Repair  security defender. *
del/a/f/q "%SystemDrive%\Documents and Settings\All users\" Start "menu \ programs \ le fish av box \ Le fish av box home. *"

del/a/f/q "%SystemDrive%\Documents and settings\administrator\" Start "menu \ Program \PPS Network TV \ Multi-special know computer answers. *
del/a/f/q "%SystemDrive%\Documents and settings\administrator\" Start "menu \ Program \PPS network TV \ Download the latest version of the software. *
del/a/f/q "%SystemDrive%\Documents and settings\administrator\" Start "menu \ program \ Cool dog \ Multi-special know computer troubleshooting. *
del/a/f/q "%SystemDrive%\Documents and settings\administrator\" start "menu \ programs \ cool dog \ Download the latest version of the software. *
del/a/f/q "%SystemDrive%\Documents and settings\administrator\" Start "menu \ Program \microsoft Office\ access to the perfect boutique download station. *

del/a/f/q "D:\ My Documents \ Favorites \ Love Word Bully English learning community."
del/a/f/q "d:\ My Documents \favorites\qq URL Daquan."
del/a/f/q "D:\ My document \favorites\ love the word Bully English learning community. *
del/a/f/q "d:\ My Documents \favorites\ link \qq url daquan."
del/a/f/q "D:\ My Documents \favorites\ Golden Fox Computer Studio-jinhu computer studio.*"
del/a/f/q "D:\ My Documents \favorites\ search King-Search all.*"

del/a/f/q "%userprofile%\ favorites \ Love Word Bully English Learning community. *"
del/a/f/q "%USERPROFILE%\FAVORITES\QQ Web site Daquan. *"
del/a/f/q "%userprofile%\favorites\ Love English Learning community. *"
del/a/f/q "%userprofile%\favorites\ link \qq url daquan. *"
del/a/f/q "%userprofile%\favorites\ Golden Fox Computer Studio-jinhu computer studio.*"
del/a/f/q "%userprofile%\favorites\ Search-all.*"

del/a/f/q "%programfiles%\flashget network\flashget 3\ green download. *"
del/a/f/q "%SystemDrive%\Documents and settings\administrator\" Start "menu \ Program \ Express (FlashGet) \ Access free share green download bar!.*"

del/a/f/q "%programfiles%\stormii\ green download bar. *"
del/a/f/q "%SystemDrive%\Documents and settings\administrator\" start "menu \ programs \ storm audio \ Access free to share green download bar!.*"

del/a/f/q "%systemdrive%\windows\tasks\sogouimemgr.job"
Exit
To the end of this code


Homemade garbage batch processing software


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.