为什么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
  • 阅读 ( 221 )
  • 分类:互联网

你可能感兴趣的文章

如何在microsoftword中快速添加表中的行

... 您知道在Microsoft Word中添加行的这种简单方法吗?你还知道什么妙招?你可以在下面的评论中留下你的想法。 ...

  • 发布于 2021-03-14 03:34
  • 阅读 ( 192 )

如果microsoft word崩溃,请立即执行此操作以恢复未保存的工作

...吗?花几个小时在一篇论文上,却在你即将完成的时候让microsoftword崩溃了,这真是太可怕了。虽然你应该养成定期按Ctrl+S快捷键的习惯,但谢天谢地,Word会在崩溃时自动保存备份。 ...

  • 发布于 2021-03-14 12:55
  • 阅读 ( 212 )

如何用microsoft word轻松制作徽标

... 连傻瓜都会想——为什么不是我?我自由了。但是,当你不属于创意部落,那么你采取任何工具,你需要在紧急情况下设计一个标志。微软Word并不是绘制醒目标志的首选。它没有资格在一...

  • 发布于 2021-03-16 10:11
  • 阅读 ( 376 )

如何在microsoft office 2016中合并多个word文档

尽管Microsoft Word现在支持文档上的多人协作(通过web应用程序或Office 365订阅),但有时仍需要将多个Word文档合并在一起。 ...

  • 发布于 2021-03-16 13:36
  • 阅读 ( 257 )

如何在microsoft word中创建专业报告和文档

... 在你开始写报告之前,你必须首先知道你为什么要写报告。报告有很多种,但它们要么是为了提供信息,要么是为了说服。它可以用来描述一个技术过程,分享背景信息,或者展示一个项目的进展。 ...

  • 发布于 2021-03-17 18:18
  • 阅读 ( 274 )

如何在几秒钟内恢复未保存的microsoft word文档

... 谢天谢地,Microsoft Office 2010的一个小功能可以让您几乎瞬间恢复丢失的文档。下面是方法。 ...

  • 发布于 2021-03-18 04:52
  • 阅读 ( 375 )

如何在microsoft word中插入(或删除)水印

简陋的microsoftword水印说明了很多关于文档的信息。最常用的“草稿”水印告诉大家,这是一个早期的副本。“机密”标记暗指某件事。 ...

  • 发布于 2021-03-18 19:53
  • 阅读 ( 259 )

如何冻结word文档的一部分以便于参考

在一个大的MicrosoftWord文档的两个或多个部分之间来回跳转涉及大量的垂直滚动——这一点都不好玩。任何人在处理一个大的microsoftword文档时都会觉得很烦人,尤其是当您在工作时需要文档的一部分作为频繁的参考时。 ...

  • 发布于 2021-03-24 03:46
  • 阅读 ( 258 )

将word文档保存为图像文件的5种方法

... 用Microsoft Word打开文档。 单击顶部的“视图”选项卡,然后从“缩放”部分中选择一个页面。 滚动到要另存为图像的页面。确保页面占据Word中...

  • 发布于 2021-03-30 12:19
  • 阅读 ( 231 )

如何在word、pages和google文档中格式化剧本

... 为什么不去YouTube上的一些电影分析频道看看电影研究的最佳速成课程呢。然后用你学到的教训来改进你的下一个剧本。 ...

  • 发布于 2021-03-30 13:00
  • 阅读 ( 857 )
尛晓然
尛晓然

0 篇文章

相关推荐