Hi Corentin,
Well it could apply to any app actually: if and app using the file is
still running and you try to trash the file, you might be heading for
trouble. That's why it's always recommended to trash the file only after
all related apps are quit (or after making them "release" the file in
the case of the System).
For instance, I'd quit Word before trying to trash its files.
Since I posted my last message here, I've done some experimenting and I'm
now quite positive that the only relevant action when deleting an Office
file (and, I suspect, *any* application file) is whether or not you have
quit out of the Office app, not whether or not or when you have emptied the
trash that contains the old file.
The evidence:
1. Normal Template: If you haven't quit out of Word and you try to trash
Normal, you get a dialog telling you the file is in use and you can't trash
it.
If you *have* quit out of Word, it makes no difference whether or not you
empty the trash of the old Normal before reopening Word: Either way you
will get a new Normal.
2. Word Preferences file: If you haven't quit out of Word and you try to
trash your Word prefs file, you will *not* get a dialog telling you the file
is in use and the trash *will* get emptied. The result, however, is that
your old prefs remain in memory and are retained even after you quit and
relaunch Word. But note this: You get the exact same result if you haven't
quit out of Word and you *don't* empty the trash.
If you *have* quit out of Word, it makes no difference whether or not you
empty the trash of the old prefs file before reopening Word: Either way you
will get a new prefs file.
So the difference (at least on the Mac) between trashing prefs, caches,
etc., that belong to Word and trashing such files that belong to the System
is this: You *must* quit Word before taking action. On the other hand, you
*can't* quit the System before taking action; it has to be active or you
can't do anything.
In other words, if you quit Word, trash a file, empty the trash, you're fine
since nothing needs to be in the System's memory with Word quit. That's not
true with the System. As long as it's booted, it must maintain various
files. If you try to trash one of those files (like a system cache file)
with the System open, the trash may appear to empty, but the file will
remain in memory. When you reboot, a "new" cache file, based on the old
(presumably corrupt) file will appear. So it's not really new (and it's
still corrupt).
However, if you trash the system file but *don't* empty the trash, the
System doesn't need to maintain the file in memory since it can refer to the
one that's sitting in the trash. The System is perfectly happy. When you
shut down and then reboot, the System checks the folder where the file
should be, doesn't see one (because it's still in the trash), and creates a
new "clean" file.
This is exactly what Corentin said in the first place. The only difference
is that it does not apply to (I suspect *all*) application files (and
definitely not to Word).
Summary:
Where Word is concerned, quit the application before trashing files; it
doesn't matter whether or not you empty the trash before relaunching Word.
Where the System is concerned, do *not* empty the trash before shutting down
and rebooting.
--
***Please always reply to the newsgroup!***
Beth Rosengard
MacOffice MVP
Mac Word FAQ: <
http://word.mvps.org/MacWordNew/index.htm>
(If using Safari, hit Refresh once or twice or use another browser.)
Entourage Help Page: <
http://www.entourage.mvps.org>