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.
#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.
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!