Home >Common Problem >What are the cmd commands to clean up C drive junk?
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\*".
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!