Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

tmp files appearing on Desktop

Posted on 2000-05-11
6
Medium Priority
?
686 Views
Last Modified: 2013-12-29
Has anyone come across a problem where .tmp files start appearing on the Desktop ?
0
Comment
Question by:GlenStreet
6 Comments
 
LVL 2

Expert Comment

by:jj_mako
ID: 2801321
not me.
0
 
LVL 5

Accepted Solution

by:
joe_aqs earned 150 total points
ID: 2801480
0
 
LVL 12

Expert Comment

by:pjknibbs
ID: 2801906
This can also happen if you're in the habit of opening Word documents which are on the desktop--Word always keeps a temporary file open while editing a document, and these can be left behind if it crashes.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 14

Expert Comment

by:wsh2
ID: 2802042
You have to set the TEMP environment to a temporary workfile directory.

1. On your C: drive (or whatever drive you like).. make a Folder named TempWork. If the c:\windows\temp directory is present, you can use it if you like.

2. Add the following line into your c:\Autoexec.bat file. Assuming you want the c:\tempwork directory to be the place where you want temporary files to go.. it would look like this:

SET TEMP = c:\tempwork

If the c:\windows\temp directory exists and you want to use that instead.. the line would read..

SET TEMP = c:\windows\temp

3. Save the c:\Autoexec.Bat file and reboot. ALL TEMP files will now be placed in the directory you specified with SET TEMP.

Tip: A quick way to get all your sytem files Config.Sys, Autoexec.Bat, Win.Ini, System.Ini and a couple of others.. on the screen ready for editting is to use SysEdit.Exe. From the Start Menu.. click on Find.. Files or Folders.. and type in SYSEDIT into the find box. Click Find Now, and when SysEdit.EXE appears (it will be in the Windows\System directory) double click on it.
0
 
LVL 12

Expert Comment

by:pjknibbs
ID: 2803243
wsh2: You also need to set the TMP environment variable to the same folder or this won't work properly.
0
 
LVL 14

Expert Comment

by:wsh2
ID: 2804642
When temporary file directories first came around, some software developers used the TMP environment setting, and others used TEMP.. both served the same purpose. With time, TEMP pretty much became the standard, but there is no harm in setting the TMP as well.. to do so just ADD the following statement to the one above in the AutoExec.Bat file.. <smile>.

SET TMP=c:\MyTemporaryFolderName
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
The article covers five tools all IT professionals should know about, as they up productivity by a great deal!
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

972 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