Home  >  Article  >  What is the cmd command to clean up C drive junk?

What is the cmd command to clean up C drive junk?

王林
王林Original
2021-01-13 14:35:39173009browse

The cmd command to clean up the C drive garbage is [powercfg -h off]. Specific method: First, right-click the start menu and open Run; then enter cmd and click OK; finally execute the [powercfg -h off] command.

What is the cmd command to clean up C drive junk?

#The operating environment of this article: windows10 system, thinkpad t480 computer.

(Learning video sharing: Introduction to Programming)

Specific method:

Hibernation file cleanup

Hibernation file (hiberfil.sys ) Yes, when your computer enters hibernation, the system will write all memory contents to the hiberfil.sys file before shutting down. When you turn the computer back on, the system will restore all the information in the hiberfil.sys file to the memory, returning the phone to its pre-sleep state. However, after the computer is restarted and opened, the system will not delete the hiberfil.sys file, and the hiberfil.sys file will occupy about 4G of space, which is a waste of disk space.

Cleaning method: Open the menu bar in the lower left corner → Run, enter cmd.exe to open the command prompt, enter powercfg -h off in the command prompt → press Enter, and then restart the computer.

What is the cmd command to clean up C drive junk?

Related recommendations: windows system

The above is the detailed content of What is the cmd command to clean up C drive junk?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn