Current location - Health Preservation Learning Network - Slimming men and women - How to clear the space of computer disk C?
How to clear the space of computer disk C?
There are many ways to clean up the computer system, so how to clean up the computer C disk space? I shared with you the method of cleaning up the space of computer disk C.

Method for clean computer C disk space

Firstly, the garbage of disk C is automatically removed to expand the space of disk C.

I have provided you with a batch file for deleting system garbage:

@ Turn off echo

Echo Vista 123.com is helping you with the cclean file. Please wait a moment. . . . . .

del /f /s /q %systemdrive%/*。 Terminal Monitor Program (abbreviation of terminal monitor program)

del /f /s /q %systemdrive%/*。 _mp

del /f /s /q %systemdrive%/*。 log

del /f /s /q %systemdrive%/*。 Dizziness

del /f /s /q %systemdrive%/*。 chk

del /f /s /q %systemdrive%/*。 old

del/f/s/q % system drive %/recycled/*。 *

del /f /s /q %windir%/*。 bak

del /f /s /q %windir%/prefetch/*。 *

rd/s/q % windir %/temp & amp; md %windir%/temp

del /f /q %userprofile%/cookies/*。 *

del /f /q %userprofile%/recent/*。 *

del /f /s /q? % user profile %/ local settings/temporary Internet

File/*. *?

del /f /s /q? % user profile %/ local settings /Temp/*. *?

del /f /s /q? %userprofile%/recent/*。 *?

Echo Vista 123.com reports: cclean finished!

Echo. & stop

You can save the above code as cleantemp.bat and run it directly.

However, the above is far from enough, and it is not simple enough. This paper introduces a useful software in cclean: Vista Optimizer. Starting from version 2.0beta2, this software provides two shortcut buttons: one button to clear system garbage and one button to clear online traces, to help you get it!

Second, in-depth analysis.

Application cache brought by 1 and Superfetch function:

In Windows Vista system, the new technical function of Superfetch is used. Please refer to Windows Vista for details.

Super fetch/ Prefetch Technical Details, Vista Optimization: Teach you how to set Vista to start pre-reading and apply pre-reading.

Cleaning method: just delete all files in the c:/windows/prefetch folder.

2.hiberfil.sys:

This file is a hidden system file in the root directory of drive C. The size of the hidden hiberfil.sys file is exactly the same as your own physical memory. When the computer goes into hibernation, Windows

Vista writes all memory contents into Hiberfil.sys file before shutting down the system. Then, when you turn on the computer again, the operating system uses Hiberfil.sys to put all the information back into the memory, and the computer returns to the state before it was turned off. But Windows

Vista will not delete this file, but save it on the hard disk, occupying a part of disk space for nothing. With the sleep function, you can choose the latest xp system that you don't want to download. After testing, turning off this sleep function can release 4G space.

Under Vista, the first way to safely delete hibernation files is to run cmd.exe as an administrator to open a command line window, and then run: powercfg -h h h.

Close, note that the hidden file of hiberfil.sys left on disk C can be deleted directly after being hidden.

3. Virtual memory page file. sys:

Windows systems, including Vista, set the size of physical memory to 1.5 times by default and use it as a paging swap file. If you are a system-managed size, then this size will automatically change and often become larger and larger. If the physical memory is less, only 5 12m or 1g, you can choose to keep this file.

If you keep this file, we suggest that you put it in another partition instead of the C disk (system disk), otherwise you still need to delete it manually when making Ghost or other backups. It is suggested that the size must be specified, that is, 1.5 times the physical memory size of Ram.

If your memory is larger than 2G, we suggest that you directly turn off the virtual memory function. You will find that your entire Windows system is? Fly? Get up.

Method of setting virtual memory: Control panel-

Click System in Classic View, click Advanced System Settings on the left, click the first setting (Performance), then click Advanced, and in Virtual Memory, click Settings. Note that you can directly remove and delete the hidden pagefile.sys file on drive C.

4. Temporary files generated by the application:

It is usually stored in the windows/temp folder and the temp folder of the user folder.

Cleaning method: directly put c:/windows/temp and C:/Users/ your user name /AppData/Local/Temp.

Just delete all files in the folder.

5. Temporary files generated by browsers such as 5.IE:

Cleaning method: control panel

In Internet options, just delete cookie and ie temporary files. It is strongly recommended to use Vista Optimizer 2.0' s one-click function to remove traces of surfing the Internet, especially before backing up the system.

6, system restore, system volume information folder:

System volume information folder whose Chinese name can be translated into? System label information? . This folder stores the backup information restored by the system.

? System restore? It's Windows

One of the most practical functions of the operating system, using? Snapshot? The way to record the state information of the system at a specific time, the so-called? Restore point? And then restore it according to this information when needed. There are two kinds of restore points: one is automatically created by the system, including system checkpoint and installation restore point; The other is created by users themselves according to their needs, which is also called manual restore point. As users use the system for longer and longer, there will be more and more restore points, resulting in less and less hard disk space, and finally they will be warned? Insufficient disk space? . It is also the most space-consuming file in the system disk. Over time, the file size can reach 4G, or even more!

7.Windows Vista system logs and event logs

Generally, it can be deleted directly in the LogFiles folder under the System32 folder of the Windows folder.

8. A new backup of system files generated by sp1or a patch package for automatic upgrade.

I suggest you don't have to move this. Better keep it.

Third, C disk space slimming weight loss

The above method solves the problem that the space of C drive is getting smaller and smaller, so there are still many useless files that we need to simplify, such as some help files, some ugly wallpapers that will never be used, video files that come with the system, and so on. Then, just use the Vista Slimming Master included with the Vista Optimizer.

?