Batch file that cleans your PC for you.
Before you proceed please take a look at the filel extensions(.jpg) and make sure you want to delete these, if I've miss any extensions feel free to add them in if you know what your doing.
This script will clean the cookies and private information in your computer.
- Copy the code below
- Open notepad
- Paste
- Save As
- CleanPc.bat
- Save
Click and run it.
//Start to copy here//
@echo off
cleanmgr /sageset:1
cleanmgr /sagerun:1
TASKKILL /F /IM explorer.exe
cd /d c:\
attrib +a -s -h -r thumbs.db /s
del /s /f thumbs.db
attrib +a -s -h -r *.tmp.log /s
del /s /f *.tmp.log
attrib +a -s -h -r “%userprofile%\Application Data\Microsoft\Office\Recent\*.*”
del /f /q “%userprofile%\Application Data\Microsoft\Office\Recent\*.*”
attrib +a -s -h -r *.gid /s
del /s /f *.gid
attrib +a -s -h -r *.fts /s
del /s /f *.fts
attrib +a -s -h -r *.cnt /s
del /s /f *.cnt
attrib +a -s -h -r *.old /s
del /s /f *.old
attrib +a -s -h -r *.diz /s
del /s /f *.diz
attrib +a -s -h -r *.bak /s
del /s /f *.bak
attrib +a -s -h -r *.tmp /s
del /s /f *.tmp
attrib +a -s -h -r *.chk /s
del /s /f *.chk
attrib +a -s -h -r *.dmp /s
del /s /f *.dmp
attrib +a -s -h -r *.00? /s
del /s /f *.00?
attrib +a -s -h -r index.dat /s
del /s /f index.dat
attrib +a -s -h -r fw*log.txt /s
del /s /f fw*log.txt
attrib +a -s -h -r zalog*.txt /s
del /s /f zalog*.txt
attrib +a -s -h -r backup*.rdb /s
del /s /f backup*.rdb
start explorer.exe
@exit
//End copy here
Hope this is handy

0 comments:
Post a Comment