Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

When trying to delete a word ~*.tmp file I get the message it is locked, although the document it belongs to is already closed. I look it up in Process Explorer and close the handle. There are no references found anymore. Still I get the message it is locked and can't delete it. When exiting Word the file is deleted automatically.

How can I delete Word temporary files without closing Word?

share|improve this question

2 Answers 2

There's a free utility for that™ I've used for several years called Unlocker. It will also tell you what has a lock on the file and optionally delete it for you.

share|improve this answer
    
Looking at the screenshot and the comparison table I doubt if this utility will do a better job then Process Explorer or handle.exe both from sysinternals (MS nowadays). The problem is that a handle is visible at first and can be closed but the file is kept open in some intricate way. –  Victor Onrust Feb 27 '11 at 19:23
1  
@Victor Onrust: Besides unlocking files, Unlocker will optionally delete the file for you. If nothing else has worked, you might as well give it a try. –  martineau Mar 6 '11 at 6:52

Most probably that's bug in Word 2010. It should close that temporary file after closing original file. However, there might be for example undo history in that tmp file, in case you open original file again without closing Word. In that case, it's useful feature (if you save regularly and accidentally close file, you can reopen and have history preserved).

Why you have to delete that file before Word exits?

share|improve this answer
    
Why you have to delete that file before Word exits? If you are editing numerous files in one directory at a time and one in another and you want to move that directory after closing that instance of Word, you don't want to close all the other instances. –  Victor Onrust Feb 27 '11 at 19:26

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.