WIN7/WIN8/XP system Batch Cleanup system garbage bat file

Source: Internet
Author: User
Tags garbage cleaner prefetch

In the lower left corner of the computer screen press "Start → procedure → attachment → notepad", the following text copied in, point "Save as", the path selected "desktop", save type "All Files", file name "clear System Lj.bat", completed. Remember suffix name must be. bat, ok! Your garbage cleaner just made it! Double-click it to quickly clean up trash files, less than a minute.

The Windows 7 system uses the following code

The code is as follows Copy Code

@echo off
Echo is cleaning up the system garbage file, please wait a moment ...
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 Cleanup system garbage complete!
Echo. &

Windowx XP system Batch cleanup system garbage code

= = = = = is the following text (this line does not copy)

  code is as follows copy code

@echo off
ECHO is clearing the system garbage file, 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 settingstemporary Internet files*.*"
del/f/s/q "%userprofile%local settingstemp*.*"
del/f/s/q "%userprofile%recent*.*"
echo clearance System, LJ, complete!
Echo. & Pause

WIN8 system eliminates rubbish

1. Open Disk Cleanup by clicking the Start button. In the Search box, type Disk Cleanup, and then click Disk Cleanup in the results list.
If you are prompted to select a drive, click the drive that installs Windows, and then click OK.
2. On the Disk Cleanup tab of the Disk Cleanup dialog box, click Clean System files.
If you are prompted again to select a drive, click the drive that installs Windows, and then click OK.
3. Select the previous Windows installation check box, and any additional check boxes that correspond to the files you want to delete, and then click OK.
4. In the message that appears, click Delete File.

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.