Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: turn off .tmp generation

0 views
Skip to first unread message

Herb Tyson [MVP]

unread,
Jan 29, 2008, 9:12:59 AM1/29/08
to
Creating .tmp files is part of Word's genetic coding, and their generation
cannot be stopped... except of course by not using Word at all. ;-)

.tmp files are how Word manages the pieces of files as you work with them.
Think of them as pieces of scrap paper, without which Word could not do what
it does. When Word closes a file, the associated tmp files are deleted (in
theory). When Word crashes, tmp files often get left over. The leftover bits
can be deleted (although... when I go on a delete-athon, I usually focus
only on files that are at least a few days old, just to make sure I'm not
zapping something that might be a last grasp at recovering something I might
lose.

--
Herb Tyson MS MVP
Author of the Word 2007 Bible
Blog: http://word2007bible.herbtyson.com
Web: http://www.herbtyson.com
"Dave" <Da...@discussions.microsoft.com> wrote in message
news:19B2EFF5-56C1-4F51...@microsoft.com...
> .tmp files are a real pain and I would like word to stop generating them.
> Does anyone know of a way to stop word from generating .tmp files when I
> open
> an existing file? Is there a registry key to stop them? I am not worried
> about losing information in an open document if something should happen,
> which is what I understand the .tmp file is for.

Graham Mayor

unread,
Jan 29, 2008, 9:19:29 AM1/29/08
to
That's not what temporary files are for - and you cannot stop them being
produced. Many applications produce temporary files for a variety of
purposes. Leave them alone! If they are not removed when the application is
closed (usually through a fault condition) then you can remove them - see
http://www.gmayor.com/what_to_do_when_word_crashes.htm

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org

Jay Freedman

unread,
Jan 29, 2008, 10:49:58 AM1/29/08
to
Dave wrote:
> .tmp files are a real pain and I would like word to stop generating
> them. Does anyone know of a way to stop word from generating .tmp
> files when I open an existing file? Is there a registry key to stop
> them? I am not worried about losing information in an open document
> if something should happen, which is what I understand the .tmp file
> is for.

In addition to what Herb and Graham have told you, here's one more bit of
advice: Don't store documents on the desktop and open them from there.

As explained in http://support.microsoft.com/?kbid=211632, there are certain
kinds of temp files that must be stored in the same folder as the open
document, and if that's the desktop then the temp files will be in your
face. Store the documents in any subfolder on the disk, and the temp files
will be out of sight unless you happen to go looking for them.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.


Beth Melton

unread,
Jan 29, 2008, 10:50:34 AM1/29/08
to
The .tmp files Word creates are automatically delete, unless you experience
a crash. If after you exit Word you still see temp files (that Word creates)
then something is preventing their deletion, such as you may not have the
necessary permissions enabled.

Otherwise, if they are deleted automatically then, as others have noted,
this is "normal" behavior.

Please post all follow-up questions to the newsgroup. Requests for
assistance by email cannot be acknowledged.

~~~~~~~~~~~~~~~
Beth Melton
Microsoft Office MVP

Coauthor of Word 2007 Inside Out:
http://www.microsoft.com/MSPress/books/9801.aspx#AboutTheBook

Word FAQ: http://mvps.org/word
TechTrax eZine: http://mousetrax.com/techtrax/
MVP FAQ site: http://mvps.org/

"Dave" <Da...@discussions.microsoft.com> wrote in message
news:19B2EFF5-56C1-4F51...@microsoft.com...

Dave

unread,
Jan 30, 2008, 8:53:02 AM1/30/08
to
Thank you all for replying. My situation is when I open a merge document and
use my Word based data base it opens a .tmp file. If I edit the data base,
which word allows and has qucik buttons to do it by during the merge, and
then close the template I cannot save the changed data base file because it
says it is open. The error is that it is a read only file, which it is not.
It is just that Word created a .tmp file so it thinks it open somewhere else.
So I have to close without saving changes, a real pain for my application
plus I cannot use features Word has to offer.

This did not happen in Word 2000 and the folks on the Merge help page said
it is a know problem, they thought it might get fixed sometime. I was
looking for a near term solution.

Thanks again,

Beth Melton

unread,
Jan 30, 2008, 9:52:43 AM1/30/08
to
I believe this has more to do with the data connection to your database than
temp files. Word now uses a new method, (called OLEDB), by default to
connect to a data source for mail merge. Word 2000 uses a method called
DDE.. In a nut shell, this connection allows Word to communicate directly
with your data file (which is more efficient) rather than through the
application as it did in the past using a DDE connection method. The fact
that your database may be opening as read-only may indeed be a bug. (I don't
know, this isn't something I've investigated.)

What you might be able to do is use the DDE method to connect to your data
source which may allow you to make your edits and save them. However, we
need to know the version of Word you are using so we can provide you with
the necessary steps.

Please post all follow-up questions to the newsgroup. Requests for
assistance by email cannot be acknowledged.

~~~~~~~~~~~~~~~
Beth Melton
Microsoft Office MVP

"Dave" <Da...@discussions.microsoft.com> wrote in message

news:5CC52CAA-4A65-458F...@microsoft.com...

Suzanne S. Barnhill

unread,
Jan 30, 2008, 10:26:40 AM1/30/08
to
I have a lot of Excel data sources that I connect to with DDE, and I find
that when I go to save and close the mail merge main document, I am asked if
I want to save the data source as well. I always do, because it saves the
selection of recipients so that I can check to see whom I sent things to (I
don't save the merged document in most cases).

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

"Beth Melton" <bme...@mvps.org> wrote in message
news:u7nrlB1Y...@TK2MSFTNGP02.phx.gbl...

Dave

unread,
Feb 1, 2008, 9:19:01 AM2/1/08
to
I orginally created my data base using Office 2000 and Word. It was the old
merge tool bar drop down, not a wizard, so my data base is a word document.
I now have office 2007 and Word that goes with it, I am still using the Word
2000 data base file as my source. Does this help?

Beth Melton

unread,
Feb 1, 2008, 10:40:13 AM2/1/08
to
Yes, additional information is always helpful. :-)

Instead of changing the method you are using to connect to your data, I
would copy/paste the data in your data file to an Excel workbook and use it
instead. I've verified it can be updated in Word 2007 and you might find
managing your data in Excel to be more flexible than using a Word table.

All you have to do is create a new Excel workbook, open your data file in
Word, select the entire table, then in Excel make sure the active cell is A1
and paste the copied data. Save and close your Excel workbook. Then in your
main document, on the Mailings tab, click Select Recipients/Use Existing
List and select your saved Excel workbook.

Please post all follow-up questions to the newsgroup. Requests for
assistance by email cannot be acknowledged.

~~~~~~~~~~~~~~~
Beth Melton
Microsoft Office MVP

"Dave" <Da...@discussions.microsoft.com> wrote in message

news:090E3DA3-C2C1-45A9...@microsoft.com...


>I orginally created my data base using Office 2000 and Word. It was the
>old
> merge tool bar drop down, not a wizard, so my data base is a word
> document.
> I now have office 2007 and Word that goes with it, I am still using the
> Word
> 2000 data base file as my source. Does this help?
>
> "Beth Melton" wrote:
>
>> I believe this has more to do with the data connection to your database
>> than
>> temp files. Word now uses a new method, (called OLEDB), by default to
>> connect to a data source for mail merge. Word 2000 uses a method called
>> DDE.. In a nut shell, this connection allows Word to communicate directly
>> with your data file (which is more efficient) rather than through the
>> application as it did in the past using a DDE connection method. The fact
>> that your database may be opening as read-only may indeed be a bug. (I
>> don't
>> know, this isn't something I've investigated.)
>>
>> What you might be able to do is use the DDE method to connect to your
>> data
>> source which may allow you to make your edits and save them. However, we
>> need to know the version of Word you are using so we can provide you with
>> the necessary steps.
>>

Dave

unread,
Feb 1, 2008, 4:26:57 PM2/1/08
to
I will give that a try and let you know. Thanks for your help

Dave

unread,
Mar 19, 2008, 12:01:02 PM3/19/08
to
I finally gave it a try and re-created the data base Excel, as you asked me
to do below. What happens is when I use a quick button to edit a field
during a merge I get a window that asks me if I "want to break the link" with
the file. With no other options I say yes. It seems to complie for about 30
seconds then asks me to save the word document in my database directory,
which I do not understand? This is all too tedious and time consuming.

BTW this tmp process is also affecting me when I email a file through
outlook and then I try to move the file within explorer. It says I cannot
move the file because the file is being used by another program. Even though
outlook may have sent the file I have to close outlook then move the file.
.tmp files are my enemy, lol.

Thanks for all your help.

Beth Melton

unread,
Mar 21, 2008, 10:49:15 AM3/21/08
to
Strange. I don't encounter this -- it works like previous versions for me. I
can edit the Excel data and am prompted to save the changes when I close the
main document.

Are you saving in the old file format or new file format? Are you using
Windows XP or Vista?

~~~~~~~~~~~~~~~
Beth Melton
Microsoft Office MVP

https://mvp.support.microsoft.com/profile/Melton

What is a Microsoft MVP? http://mvp.support.microsoft.com/gp/mvpfaqs

"Dave" <Da...@discussions.microsoft.com> wrote in message

news:9184D694-3B7F-4985...@microsoft.com...

0 new messages