When you’re working on your computer, Windows creates temporary files for temporary use. These files are generated for backup purposes and to store information in a short period of time. They are primarily to store, transfer, and recover lost data.

If your hard drive is nearing full capacity, you might like to choose to delete your temporary files to free up hard disk space. Here’s how to do that.

What to do:​

  • Hit Windows + R and type CMD into the search box.
  • If you want to view the temporary files before you delete them type %SystemRoot%\explorer.exe %temp%\ and hit enter. This will open the Temp folder in File Explorer. You can press Ctrl + A to select all the files and delete them.
  • Alternatively type del %temp%*.* /s /q at the command line and press enter.
Delete Windows temporary files.webp

And that’s it. Your PC will go ahead and delete the temporary files. Deleting these files is generally safe. The CMD tool will skip any files that are currently in use but delete the rest. Be sure to back up your data before you try this at home.
 
Khi bạn làm việc trên máy tính, Windows sẽ tạo ra các tệp tạm thời để sử dụng trong thời gian ngắn. Những tệp này được tạo ra nhằm phục vụ mục đích sao lưu và lưu trữ thông tin trong một khoảng thời gian ngắn. Chúng chủ yếu được dùng để lưu, truyền và khôi phục dữ liệu bị mất.

Nếu ổ cứng của bạn sắp đầy, bạn có thể chọn xóa các tệp tạm thời để giải phóng dung lượng. Đây là cách thực hiện:

Cách làm:​

  • Nhấn Windows + R và nhập CMD vào ô tìm kiếm.
  • Nếu bạn muốn xem các tệp tạm thời trước khi xóa, hãy nhập: %SystemRoot%\explorer.exe %temp%\ rồi nhấn Enter.Thao tác này sẽ mở thư mục Temp trong File Explorer. Bạn có thể nhấn Ctrl + A để chọn tất cả tệp và xóa chúng.
  • Hoặc, bạn có thể nhập lệnh sau trong Command Prompt và nhấn Enter: del %temp%*.* /s /q
 
Chủ đề liên quan Xem nhiều Xem thêm
Back
Top Dưới