為什麼microsoft word在使用時要建立兩個副本?

雖然您可能沒有考慮或意識到這一點,但Microsoft Word會為您開啟並正在處理的任何文件建立第二個副本。但微軟Word為什麼要這麼做呢?今天的超級使用者問答帖子回答了一位好奇的讀者關於這種行為的問題。...

為什麼microsoft word在使用時要建立兩個副本?

雖然您可能沒有考慮或意識到這一點,但Microsoft Word會為您開啟並正在處理的任何文件建立第二個副本。但微軟Word為什麼要這麼做呢?今天的超級使用者問答帖子回答了一位好奇的讀者關於這種行為的問題。

今天的問答環節是由SuperUser提供的,SuperUser是Stack Exchange的一個分支,是一個由社群驅動的問答網站分組。

問題

超級使用者讀者JBurnham想知道為什麼Microsoft Word在使用時會建立兩個副本:

Why does Microsoft Word create another copy of the same file, but hidden, while in use? And why does the file created while a document is open always have “~$” replacing the first 2 letters of the file name?

For example:

007Ys3FFgy1gpfln5tzffj306504gt8m

為什麼Microsoft Word要建立第二個副本?第二個檔名中的“~$”是怎麼回事?

答案

超級使用者貢獻者Matthew Williams和Frank Thomas為我們提供了答案。首先,馬修·威廉姆斯:

The file you refer to is a temporary file which serves a number of purposes. From Microsoft themselves:

Quoted Text: A temporary file is a file that is created to temporarily store information in order to free memory for other purposes, or to act as a safety net to prevent data loss when a program performs certain functi***. For example, Word determines automatically where and when it needs to create temporary files. The temporary files only exist during the current session of Word. When Word is shut down in a normal fashion, all temporary files are first closed and then deleted.

Speed

Going on from this, these temporary files help improve speed. If your system is struggling with having enough memory, Word will help it along by shifting non used functionality from memory to disk in the form of a temporary file.

Integrity

In order to ensure the integrity of your file in the event of a system error, information is written to the temporary file, then on to the original file. Should you have any error occur, it can be restricted/recovered from temporary files rather than your core file.

Locked Files

Quoted Text: When you open a file that is locked, either because it is open in another window of Word or because another user on the network has it open, you can work with a copy of the file. Word places this copy in the Windows Temp directory. Likewise, if a template attached to a document is locked, Word automatically makes a copy of the template in the Temp directory. The copy of a locked file does not automatically update the original owner’s file.

Owner File ~$ (Same Directory as Source File)

Quoted Text: 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 the person who opens the file. This temporary file is called the “owner file”.

Source – Description of how Word creates temporary files [Microsoft]

Final note from Matthew: This is a sizable topic. I have provided a number of examples on this file’s usage, but please use the source provided for a detailed list of reas*** from Microsoft. I do not want to copy/paste the entire page here.

接著是弗蘭克·托馬斯的回答:

Primarily because of the Auto-save features. If you do not tell a document to save your changes, do you expect it to save over the original with no command to, or warning that it will happen? It also allows your changes to be recovered if Word crashes and you have not saved for 2 hours. By default, there will be a 10 minute old version of your changes that can be recovered.

On a more basic level, it allows one user to open a file on a share and read it while another user has it open for modification, though if multiple users are editing it, last-in-wins.


有什麼要補充的解釋嗎?在評論中發出聲音。想從其他精通技術的Stack Exchange使用者那裡瞭解更多答案嗎?在這裡檢視完整的討論主題。

  • 發表於 2021-04-11 10:33
  • 閱讀 ( 42 )
  • 分類:網際網路

你可能感興趣的文章

如何在microsoftword中快速新增表中的行

... 您知道在Microsoft Word中新增行的這種簡單方法嗎?你還知道什麼妙招?你可以在下面的評論中留下你的想法。 ...

  • 發佈於 2021-03-14 03:34
  • 閲讀 ( 36 )

如果microsoft word崩潰,請立即執行此操作以恢復未儲存的工作

...嗎?花幾個小時在一篇論文上,卻在你即將完成的時候讓microsoftword崩潰了,這真是太可怕了。雖然你應該養成定期按Ctrl+S快捷鍵的習慣,但謝天謝地,Word會在崩潰時自動儲存備份。 ...

  • 發佈於 2021-03-14 12:55
  • 閲讀 ( 40 )

如何用microsoft word輕鬆製作徽標

... 為什麼選擇microsoft word來設計徽標? ...

  • 發佈於 2021-03-16 10:11
  • 閲讀 ( 56 )

如何在microsoft office 2016中合併多個word文件

儘管Microsoft Word現在支援文件上的多人協作(透過web應用程式或Office 365訂閱),但有時仍需要將多個Word文件合併在一起。 ...

  • 發佈於 2021-03-16 13:36
  • 閲讀 ( 32 )

如何在microsoft word中建立專業報告和文件

... 有用的Microsoft Word工具--貼上特殊的“研究員”凍結文件部分 ...

  • 發佈於 2021-03-17 18:18
  • 閲讀 ( 52 )

如何更改Windows10檔案關聯和預設程式

... 您可以單擊“重置”將所有內容恢復為“Microsoft推薦的預設設定”。正如您所料,這意味著Microsoft建立了Windows 10預設程式,如Groove Music for Music和Edge for web browsing。 ...

  • 發佈於 2021-03-18 18:23
  • 閲讀 ( 62 )

如何凍結word文件的一部分以便於參考

在一個大的MicrosoftWord文件的兩個或多個部分之間來回跳轉涉及大量的垂直滾動——這一點都不好玩。任何人在處理一個大的microsoftword文件時都會覺得很煩人,尤其是當您在工作時需要文件的一部分作為頻繁的參考時。 ...

  • 發佈於 2021-03-24 03:46
  • 閲讀 ( 57 )

11個奇怪的窗戶蟲子和復活節彩蛋

... Microsoft在C:\Windows\System32資料夾中隱藏了一個名為SlideToShutDown的EXE檔案。這種關閉Windows的替代方法最初是在windowsphone中引入的,後來又應用到windows8。關閉平板電腦很好,...

  • 發佈於 2021-03-25 13:30
  • 閲讀 ( 57 )

將word文件儲存為影象檔案的5種方法

... 用Microsoft Word開啟文件。 單擊頂部的“檢視”選項卡,然後從“縮放”部分中選擇一個頁面。 滾動到要另存為影象的頁面。確保頁面佔據Word中...

  • 發佈於 2021-03-30 12:19
  • 閲讀 ( 56 )

如何在word、pages和google文件中格式化劇本

... 透過更改字型、行距、邊距和樣式規則,您可以在Microsoft Word、Apple Pages或Google Docs中建立格式完美的劇本。 ...

  • 發佈於 2021-03-30 13:00
  • 閲讀 ( 50 )
尛曉然
尛曉然

0 篇文章

作家榜

  1. admin 0 文章
  2. 孫小欽 0 文章
  3. JVhby0 0 文章
  4. fvpvzrr 0 文章
  5. 0sus8kksc 0 文章
  6. zsfn1903 0 文章
  7. w91395898 0 文章
  8. SuperQueen123 0 文章

相關推薦