Solved

Temporary File Definition

Posted on 1998-09-08
1
341 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

Free camera licenses with purchase of My Cloud NAS

Milestone Arcus software is compatible with thousands of industry-leading cameras for added flexibility. Upon installation on your My Cloud NAS, you will receive two (2) camera licenses already enabled in the software. And for a limited time, get additional camera licenses FREE.

Question has a verified solution.

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

Suggested Solutions

The Rasberry PI is a low cost piece of hardware that you can have a lot of fun with through experimenting and building/working on projects like media players, running a low cost computer, build data loggers etc. - see: https://www.raspberrypi.org
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 video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…

932 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

10 Experts available now in Live!

Get 1:1 Help Now