Friday 22 November 2019

windows - What type of file is ~$file?


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.



Answer



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?



No comments:

Post a Comment

How can I VLOOKUP in multiple Excel documents?

I am trying to VLOOKUP reference data with around 400 seperate Excel files. Is it possible to do this in a quick way rather than doing it m...