Discussion Locked

Microsoft Access Temp File

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hey guys,
I have what seems like a simple question. I maintain a Microsoft Access database on my Win95 computer. Actually, the data is extracted monthly from an Informix database. While extracting this data, a temp file is created in my c:windows\temp directory. This file tends to get large(over 150 megs). I don't have enough room on my c: drive to accomodate this file. Is there a way to redirect the temp file created by access to be saved on another drive where there is more space? Thanks.

JT

7 replies

by toltec58

Just delete all files in c:\windows\temp monthly after each replication. You don't need them. I don't know of a way to re-direct. It's just one of those annoying windows things.

T58

by pokey119

This doesn't help me because my extract from informix fails because I run out of space before I get a chance to delete the temp file. Thanks.

by otl

It is much easier to add the line;

del c:\windows\temp\*.tmp

to the autoexec.bat file
this deletes all .tmp files when you reboot the computer.

by pokey119

This doesn't help me because my extract from informix fails because I run out of space before I get a chance to delete the temp file. Thanks.

by gparreira

Hi, pokey119,

You can transfer the temp directory to another drive changing your AUTOEXEC.BAT file. Normally you have the following command there:

set temp=c:\windows\temp

You can change this to any place you want. For instance if you have more space in your D Drive just create a \temp directory there and change the command above to:

set temp=d:\temp

I think this will solve your problem. Anyway if you are running out of space in your C: drive when creating a 150 Mb file you must also clean a little this drive. Normally the Windows will execute better if it has some more space to work. Try to move some data or unused files to another drive. This can be very good to improve your performance...

Good luck,
Gilberto

by pokey119

MS Access is still creating a Temp folder on the c:drive regardless of what I do to the autoexec. The problem seems to be Access specific.

This discussion is closed to new replies.