To solve the VPS in the C disk capacity of the less-than-small approach

Source: Internet
Author: User
Tags vps

With the mood to try to upload the file to the VPS. Did not think incredibly successful to the C disk of the garbage file cleared, the browser can also open, found a series of problems also solved.  All right, the tool that will erase the junk files is shared. Download Address

Here is a batch, you can refer to (mainly used to delete temporary files, log files, such as some of the garbage files)

The code is as follows Copy Code

@ ECHO.

@ ECHO. Description

@ ECHO-----------------------------------------------------------------------

@ ECHO This is a popular batch on the Internet. It will help you delete the Recycle Bin, temp directory, recently opened document traces

@ ECHO and so on. Helps the system run slightly. If you think your computer is running slowly, don't expect to do well with this batch.

The @ ECHO computer is slow usually because too many useless operations occupy CPU and memory resources.

@ ECHO Pause

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% Ecycled*.*

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% ecent*.*

del/f/s/q "%userprofile%local settingstemporary Internet files*.*"

del/f/s/q "%userprofile%local settingstemp*.*"

del/f/s/q "%userprofile% ecent*.*"

echo Cleanup system garbage complete!

Echo. & Pause

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.