Home / Amazing Tricks / How to clean Non Useful Files In Windows ??

How to clean Non Useful Files In Windows ??

This the Basic Program that Most of the cleaners uses… I am Just familiarizing you with it…That is what is It and How It works…
As we all know for better Speed of Windows we need to clean the unwanted or Non useful files regularly…
These are the Some extensions of files which are Not useful in windows…
*.tmp、*._mp *.log 、*.gid、*.chk、*.old、 *.bak and ?Temporary Internet Files? ,etc..

How to clean Non Useful Files In Windows ??

How to clean Non Useful Files In Windows ??

Step 1 : Open the Notepad .

Step 2 : Paste this code in the txt file:

Select all
@echo off
echo Webhog Cleaner
echo waiting
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 SettingsTemporary Internet Files*.*?
del /f /s /q ?%userprofile%Local SettingsTemp*.*?
del /f /s /q ?%userprofile%recent*.* ?
echo complete!
echo. & pause

STEP 3: Now save the file as “Cleaner.bat”

After saving this file, Just open it and see for yourself what happens..

This is the Overall Trick to Clean the unnecessary File in Windows !
If you like MY Post Then Reply !

About Lokesh Singh

Hello Friends, i am Lokesh Singh, certified Ethical hacker ( CEH, SSA, CSIF , CISSP). Have 8+ years of extensive experience in Ethical Hacking, Cyber Security and Penetration Testing domain.


  1. hello sir this tricks are very helpful to my studies
    very very thanks

  2. fantastic website i love ur mind excellence!!

  3. thanx a lot sirji

  4. sagar can u plz tell me how to get passwords of orkut and yahoo . i am also intrested in hacking . my email id is : sonasandhu_1881@yahoo.in

  5. Thanks so much, i love ur site =)

  6. i hope i would learn a lot frm u sir!
    u r a great teacher!! i hv only read ur 1-2 hacking leasson and i m ur fan.. the way u explaned things…! great work.. !
    now i m waiting when my exams will get over so that icould go through each and every topic… i m excited!!

  7. ok. thanx. lokesh

Leave a Comment