Temporary folder

Temporary folder

In computing, a temporary folder or temporary directory is a directory used to hold temporary files. Many operating systems and some software automatically delete the contents of this directory at bootup or at regular intervals.

For security reasons, it is best for each user to have his own temporary directory, since there has been a history of security vulnerabilities with temporary files due to programs incorrect file permissions or race conditions.

When a user opens an attached file from Outlook or other email utilities, the default save location is often an obscurely-named temporary folder (e.g. C:Documents and SettingsNathan LarsonLocal SettingsTemporary Internet FilesContent.IE5S9QNS9UR). Thus, it is easy, after modifying the file, to inadvertently save it, thereupon closing it, and then have no idea where to find it later. If this happens, a way to retrieve the file may be to open the original attachment again and attempt to save it; this will usually show the temporary folder's path where the modified file is located.

Traditional locations

In MS-DOS and Microsoft Windows, the temporary folder is set by the environment variable TEMP. Originally the default was c:Temp, then C:WindowsTemp. In modern versions, the temporary folder is set per-user as Local SettingsTemp.

In Unix and Linux, the global temporary directories are /tmp and /var/tmp. Typically, /var/tmp is for more permanent files, and /tmp is for more temporary files. See Filesystem Hierarchy Standard. In addition, a user can set his TMPDIR environment variable to point to a preferred directory (where the creation and modification of files is allowed).

ee also

*Temporary file
*Temporary variable


Wikimedia Foundation. 2010.

Игры ⚽ Поможем сделать НИР

Look at other dictionaries:

  • Temporary file — Temporary files may be created by computer programs for a variety of purposes; principally when a program cannot allocate enough memory for its tasks, when the program is working on data bigger than architecture s address space, or as a primitive …   Wikipedia

  • Temporary — is a term that denotes a finite period of time, with a defined beginning and an end. It is derived from the Latin temporarius of seasonal character, lasting a short time, from tempus (gen. temporis ) time, season. It is the opposite of permanent …   Wikipedia

  • Temporary variable — In computer programming, a temporary variable is a variable whose purpose is short lived, usually to hold temporarily data that will soon be discarded, or before it can be placed at a more permanent memory location. Because it is short lived, it… …   Wikipedia

  • Temporary Internet Files — is a directory on Microsoft Windows computer systems. The directory is used by Internet Explorer to cache pages and other multimedia content, such as video and audio files, from websites visited by the user. This allows such websites to load more …   Wikipedia

  • Virtual folder — In computing, a virtual folder generally denotes an organizing principle for files that is not dependent on their physical location in a folder. Instead, they are some scripts which coalesce results from some datastore, which may be a database or …   Wikipedia

  • Bone folder — A bone folder or bonefolder is a dull edged device used to crease material in crafts such as bookbinding, card making and any other craft where a sharp crease is needed. It is also used for marking fabric where a temporary mark needs to be made… …   Wikipedia

  • Index.dat — In the Microsoft Windows operating system, index.dat is a file used by the Internet Explorer web browser. The index.dat file functions as an active database, which runs as long as Windows is active. It functions as a repository of redundant… …   Wikipedia

  • Temp — may refer to: * Temporary work, in employment. * TR 1 Temp * RT 21 Temp 2S, an intercontinental ballistic missile of the Soviet Union * TemperatureIn computing: * Temporary file * Temporary folder (often named /tmp or /var/tmp on Unix like… …   Wikipedia

  • Files-11 — Files 11, also known as on disk structure, is the file system used by Hewlett Packard s OpenVMS operating system, and also (in a simpler form) by the older RSX 11. It is a hierarchical file system, with support for access control lists, record… …   Wikipedia

  • Scratch space — is space on the hard disk drive that is dedicated for only temporary storage. It cannot be used to permanently backup files. Scratch disks can be set to erase all data at regular intervals so that the disk space is left free for future use. The… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”