General discussion

Locked

Moving Temp Directory

By stheller ·
Ive run out of enough space on my root directoy. When installing a program, a file automatically creates a tmp file in C:\temp. I do not have enough room for this file to be created so that the program can continue loading. Is there away to have theinstaller file automatically load to a different directory especially if you have limited space on the root drive or does it absolutely have to have this room to load the program on the root drive?

This conversation is currently closed to new comments.

1 total post (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Moving Temp Directory

by twistypigeon In reply to Moving Temp Directory

This is a matter for environment variables!
For Windows 95/98/ME:
You set where your directories for temporary files are by using environment settings in the Autoexec.bat file. This file should be located in the root of your boot drive (C:\). Editthis file in Notepad, and add the lines
SET TEMP=C:\TEMP
SET TMP=C:\TEMP
replacing C:\TEMP with your preferred directory. It sounds like you could do with the directory being on a different drive.
For Windows 2000/XP:
You set where your directories for temporary files are by using environment settings in the System Settings. Select the System icon in Control Panel, or press the WindowsKey+Break.
On the dialogue that appears select the Advanced tab.
A button should show labelled Environment Variables. Select this button. Another dialogue should appear showing the variables for the current user and the local machine. In both of these lists should be TEMP and TMP variables, and their locations. Just select each one and set new variables.

Hope this helps!

Back to Software Forum
1 total post (Page 1 of 1)  

Related Discussions

Related Forums