Re: What does this mean "~$" in front of a file?

From: Jay Freedman (jay.freedman_at_verizon.net)
Date: 12/14/04


Date: Mon, 13 Dec 2004 20:52:28 -0500

On 13 Dec 2004 17:04:08 -0800, oldminer1@yahoo.com wrote:

>Word has suddenly started to save a file I might be working on by
>replacing the first two letters in the file with ~$. It also saves the
>original file, but it creates and saves this additional file. What is
>it, why does it do that, and how can I stop it? Right now, I just
>delete the file to the trash can, but it's getting annoying.
>Thanks for your input

Those are temporary files that Word uses while you're working on a
document, as explained at http://support.microsoft.com/?kbid=211632.

If you try to delete a temp file while the document is open, Windows
may tell you that you can't delete it; but if it does let you do it,
you'll trash the document. Leave it alone!

Word is supposed to delete all its temp files when it exits, but it
doesn't always do a good job. And if Word crashes or hangs, it never
gets a chance to clean up. In that case, *only when Word is closed*
(also Outlook, if you use Word as your email editor), you can safely
delete them. See
http://www.gmayor.com/what_to_do_when_word_crashes.htm for the
recommended procedure.

--
Regards,
Jay Freedman
Microsoft Word MVP         FAQ: http://word.mvps.org


Relevant Pages

  • What does this mean "~$" in front of a file?
    ... replacing the first two letters in the file with ~$. ... original file, but it creates and saves this additional file. ... delete the file to the trash can, ...
    (microsoft.public.word.application.errors)
  • Re: Bash help requested: Capturing command errors within pipes
    ... The reason for this was because we sometimes needed to access variables by name at link-time and the CLI (Command Line Interface, a sort of macro processor) was case insensitive, so all commands caused everything to be flipped to uppercase, no matter what we wanted. ... and uniq'd original file to a temp file, ... => *)echo exit ok and PIPESTATUS all zeroes ...
    (Fedora)
  • Re: Modifying a file w/o creating a temp file
    ... ease of use, if the original file had hard links to it, they are ... space equal to the size of the temp file (unless the temp file is ... written to a different file system which raises its own issues). ... lost the file entirely. ...
    (comp.lang.java.programmer)
  • Re: Modifying a file w/o creating a temp file
    ... Of course there's one simple and obvious solution which has not yet been mentioned or rejected: read the whole file into memory, modify it there, truncate the original file, and write the modified data into it. ... This has substantial subtle benefits, balanced against the one flaw of being memory hungry and limited by swap space. ... Benefits include ease of use, if the original file had hard links to it, they are not broken, if it had special modes/attributes/ACLs, they are not lost, and it never needs more space than the file system has, whereas a temp-file solution typically needs an amount of unused disk space equal to the size of the temp file. ...
    (comp.lang.java.programmer)
  • Re: fopen: pre-pending text
    ... >> 2) open a temp file for writing ... >> 4) write original file to end of temp file ... >right after verifiying. ... >> 8) open original file for writing at start of file ...
    (comp.os.linux.development.system)