Delete Temporary Files
You can release some free space by deleting temporary files on your drive. A temporary file or temp file is a file created to hold information temporarily while a file is being created. After the program is closed, the temporary file is useless and should be deleted.
Some of the temporary files on your drive can be deleted with the following commands. But first, you need to run Command Prompt as administrator. Here are different commands for you to delete temporary files.
- Delete temporary user files:del /q /f /s %temp%\*
- Delete temporary system files:del /s /q C:\Windows\temp\*
- Run the two commands together:del /q /f /s %temp%\* && del /s /q C:\Windows\temp\*
You may be confused about some parameters in this command. The following is an illustration of their meanings for you.
- /q runs the operation without a confirmation prompt;
- /f ignores the read-only attribute and forces deletion;
- /s deletes the contents from all sub-folders.
Follow us for more...
No comments:
Post a Comment