What do we mean by temporary files?

In this Blog, we would learn what Windows temporary files are? And various questions that one should have while talking about Temporary files?
Q-1 What do we mean by temporary files?
Q-2 From where temporary files get created?
Q-3 What are the circumstances under which temporary files are created?
Q-4 How to delete Temporary files from windows?
Q-5 Where temporary files get stored?
Q-6 Also, we would learn is it safe to delete files from system Temporary folder? (Most Inquired Question)

Going with the first three questions in this blog…

Query: What do we mean by temporary files?
 
Temporary Files Folder

Temporary Files: Temp (.TMP) extension files or Temporary files are created to hold information about files that has been created temporarily. During certain operation, some files are created by the system to store data or services information or running processes information. But, as the work finishes, these files are not deleted and resulting in wastage of drive space and poor performance. Such files that are not used by the system are collected in a folder called Temp (or Temporary Folder). And, these files keep collecting unless you manually delete them.

Note: It is not always necessary the files that get stored in Temp folder have a .TXT extension. They could be some .docx file, .dll file, .exe files, .xml file, .thmx file, .msi file, .out file, .err file, .res file, .cmdline file, .exd file, .sql file, .log file, .cvr file, .txt file, empty folder, .bmp file, .png file, .jpg file, .hdmp file and many more.


Query: From where temporary files get created?

Four main reasons, before creation of Temporary Files: -

Reason-1) When you are working on your system and your system shutdown unexpectedly due to power failure or hardware issue.

Reason-2) Some application creates files so as to maintain the state, but those files are never used in the future. In such cases, the system sends the files to Temp.

Reason-3) Temp files are usually files left over from a setup.

Reason-4) Sometimes the program / application is not responding. And, what we did? We forcefully shut down the application, which will have left out temporary files.

Query: What are the circumstances under which temporary files are created?

3 circumstances under which temporary files are created can be referred from Microsoft Blog on Temporary files.

Read the solution for the next three questions in the upcoming blogging sequence.

For any query, comment us below.


Previous – Top 10 Run Commands - #3


Related Questions: -


Q-1 Which of the following command locate us to the Temporary folder?
A) DEL
B) %temp%
C) RECYCLEBIN
D) clrscr
Answer- Option(B).

Q-2 What are the possible reason for the creation of temporary files?
I) Temp files are usually files left over from a setup.
II) Temp files left due to the system not responding error.
III) Temp files left due to unexpectedly shut down of the system due to power failure.

A) Only (II)
B) Both (I) and (III)
C) Neither (II) nor (III)
D) All the above (I), (II) and (III)
Answer- Option(D)
Explanation: Read Question number 2 from the current blog. 

Click imagination hunt to read latest blogs. 

Posted By - +Manish Kumar Gautam +LIVE VIAR +ASP.NET SOLUTIONS 

Keep learning and sharing...

Comments

Popular posts from this blog

SSC CGL 2016 Tier-1 Marks / Result

DATA TYPES IN C#

Pattern printing program

IS STRING MUTABLE OR IMMUTABLE IN .NET?

Top Mutual Funds