?
Solved

Temporary File Definition

Posted on 1998-09-08
1
Medium Priority
?
348 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 1

Accepted Solution

by:
sclitheroe earned 200 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In the modern office, employees tend to move around the workplace a lot more freely. Conferences, collaborative groups, flexible seating and working from home require a new level of mobility. Technology has not only changed the behavior and the expe…
This paper addresses the security of Sennheiser DECT Contact Center and Office (CC&O) headsets. It describes the DECT security chain comprised of “Pairing”, “Per Call Authentication” and “Encryption”, which are all part of the standard DECT protocol.
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses
Course of the Month10 days, 17 hours left to enroll

770 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