Home  >  Article  >  What are the cmd commands to clean up C drive junk?

What are the cmd commands to clean up C drive junk?

尊渡假赌尊渡假赌尊渡假赌
尊渡假赌尊渡假赌尊渡假赌Original
2023-08-01 11:45:1412146browse

The cmd commands to clean up C drive garbage are: 1. "del /s /f /q %temp%\*"; 2. "del /s /f /q C:\Windows\Temp\*" "; 3. "del /s /f /q C:\Users\username\AppData\Local\Temp\*".

What are the cmd commands to clean up C drive junk?

Use the following command to clean up junk files on the C drive:

del /s /f /q %temp%\*
del /s /f /q C:\Windows\Temp\*
del /s /f /q C:\Users\用户名\AppData\Local\Temp\*

Please note that replace "username" with the one you have on your computer the actual username on. Executing these commands will delete all files in the temporary folder. Remember to proceed with caution and make sure not to delete any important files.

The above is the detailed content of What are the cmd commands 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