Temp Files

C

cc900630

Hi, I have some word templates with VBA code behind that are in a
shared location and clients use them by pointing thier Workgroup
Templates to them.

Every now and then we have to delete a bunch of temp files, sometimes
hundereds, there is usually one for each template called ~$<Template
Name>.dot and then many more with the names like ~WRLxxxx.tmp. Can
anyone explain why this is happening and how to solve it. Thanks.
 
J

Jezebel

The ~$<TemplateName>.dot files are lock files created by Word when the files
is opened or, for a template, when a document based on the template is
opened. (These are created for ordinary documents, also.) They are normally
deleted when the file is closed; but can be left behind if Word shuts down
abnormally. You can simply delete them: the deletion will fail for any of
them that is actually in use.

The ~wrl*.tmp files are temporary files to hold document data while editing
is in progress. They too are deleted when the document closes, if Word
closes normally.

If these files are regularly getting left behind (ie they're still there
after all your users have shut down), then either one or more copies of Word
on your network are regularly crashing, or your network is falling over --
if your users get cut off from the shared location, then their copy of Word
is unable to delete the temporary files it created.
 
C

cc900630

Thanks for the information, that at least explains what they are.

Im not sure why they arent being deleted then because they are on a
local LAN and I dont hear about any connection problems or problems
with Word crashing. Could it be because there are 15 or so users
sharing them? They just dont ever seem to get deleted, I could go in
every day and find a mass of temp files.
 
J

Jezebel

I can't asnswer your question about why they aren't being deleted, other
than to repeat; if Word closes normally, it deletes any of these files
created by that instance of Word. Either your copies of Word are screwing
up, or your network is.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top