Solved

tmp files appearing on Desktop

Posted on 2000-05-11
6
659 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
[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
6 Comments
 
LVL 2

Expert Comment

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

Accepted Solution

by:
joe_aqs earned 50 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
Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

 
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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 this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.

751 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