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 I had opened msoffice file that I had previously saved on my desktop, I saw another kind of file named ~$doc. What type of file is this ?

screenshot with both files - the original and the ghostly twin

I have marked both the files.

share|improve this question

2 Answers 2

up vote 24 down vote accepted

It's a temporary file that disappears when you close Word.

Description of how (and why) Word creates temporary files (in the same directory)

This particular file is actually an Owner File.

From that KB article:

Owner File (Same Directory as Source File):

When a previously saved file is opened for editing, for printing, or for review, Word creates a temporary file that has a .doc file name extension. This file name extension begins with a tilde (~) that is followed by a dollar sign ($) that is followed by the remainder of the original file name. This temporary file holds the logon name of person who opens the file. This temporary file is called the "owner file."

When you try to open a file that is available on a network and that is already opened by someone else, this file supplies the user name for the following error message: This file is already opened by user name. Would you like to make a copy of this file for your use?

share|improve this answer

Actually, it is a temporary "lock" for the file that you are writting.

If someone else try to edit the same file(if you are editing a file on a network share for example), this lock will disallow simultaneous editions. Here is a quick reference.

share|improve this answer
    
I had thought the similar (even that it was an 'original copy' incase you closed and didn't want to save changes) until i read above :) –  HaydnWVN Mar 28 '12 at 8:09
    
HaydnWVN, an owner file is actually a lock file, so what Diogo said is not incorrect. –  Tarnay Kálmán Jul 28 '13 at 23:46

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.