16.6. Managing Temporary Files

A temporary file (temp file) is just that—temporary. It is designed to store information for a short period of time and then be deleted. Almost every program of any size today uses temp files. There is one problem, however: often, the temp files become more permanent. Eventually, they begin taking up considerable disk space.

One thing you can do to improve system performance is to delete any temporary files that exist on your system. Temp files can be found in a variety of locations, including the following:

C:\Temp
C:\Tmp
C:\Windows\Temp
C:\Windows\Tmp

The way to know for sure where they're located is to determine what values the TEMP and TMP environment variables are set to. An environment variable is a setting ...

Get CompTIA A+® Complete Deluxe Study Guide:Exams 220-701 (Essentials) and 220-702 (Practical Application) now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.