This article will tell you how to cleanup computer rubbish with disk cleanup program.

Disk cleanup program helps free up hard drive space. It can search your drive and then list the temporary files and Internet cache files. It can also delete unnecessary program files safely. Users can use disk cleanup program to delete part or even all of these unnecessary files.

disk-cleanup-program

There are lots of disk cleanup programs. The following is the most convenient one.

You can right click on(on) the blank spot of the desktop and then select to create a “tablet” or “Text Document”. You need to copy the following words into it and click “Save As”. The last step you have to do is that you must define the file name as “Disk Cleanup.bat”. You should remember that the extension must be “.bat” and you can quickly clean up junk files even within a minute by double clicking it.

@echo off

echo is clearing the system junk files, please wait…

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 Settings \ Temporary Internet Files \ *. *”

del / f / s / q “% userprofile% \ Local Settings \ Temp \ *. *”

del / f / s / q “% userprofile% \ recent \ *. *”

echo garbage removal system is complete!

However, if it is proved that the hard disk space is too small, it is necessary to do hard drive upgrading. Please refer to Quickly Move Windows 7/8/8.1/10 to SSD or Upgrade HDD to SSD to get more information.

  • linkedin
  • reddit