Solved

Temporary File Definition

Posted on 1998-09-08
1
340 Views
Last Modified: 2010-04-26
Can some body please give me a good definition of a temporary file.

Thanks

Greg
0
Comment
Question by:gregwasley
1 Comment
 
LVL 1

Accepted Solution

by:
sclitheroe earned 50 total points
ID: 1010413
A temporary file is a file created by an application running on your computer to store temporary information.  A few examples of why programs create temporary files:

1. When there isn't enough RAM to hold all the information the program needs.  The application can put some of the data into a temporary file until it needs it, to make room for other data.  Windows itself does this (called Virtual Memory), as do many other advanced operating systems.

2. Programs such as Microsoft Word create temporary files as a backup mechanism.  While you are editing a document, Word will keep a temporary copy of your document in a separate file, in case the program crashes or there is a power failure before you save your changes.  As you work on the document, Word will periodically save the document to the temporary file.  That way, you won't lose your changes if something unfortunate happens.

3. Sorting or converting a file.  Often, programs will use a temporary file when sorting data or converting a file format to another.  They will read data from one file, write it to the temporary file, then at the end either rename or delete the temporary file.

Often, if programs aren't exited from normally (eg. You turn the computer off before shuting down all your applications), temporary files can be left lying around.  If you don't have any programs running, you can usually safely delete these "orphaned" temporary files.

To find out where temporary files are being stored on your computer (if you are running DOS or Windows), you can go to a DOS prompt and type "set" without the quotes.  This will show you a list of environment variables.  Look for ones named TMP or TEMP; they show what directory temporary files will be created in.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

In this article you will get to know about pros and cons of storage drives HDD, SSD and SSHD.
Moving your enterprise fax infrastructure from in-house fax machines and servers to the cloud makes sense — from both an efficiency and productivity standpoint. But does migrating to a cloud fax solution mean you will no longer be able to send or re…
This video discusses moving either the default database or any database to a new volume.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now