Hi Ken,

> regular users don't know how to do either.

The point is, they don't have to. When the system runs out of space, the
user is notified and guided through the process. 

Admittedly, that's not the most efficient way to use the computer. As the
warning is triggered with less than 200 MB of free disk space on Windows XP,
the computer is likely to be quite slow at that time. But that's pretty much
how I use most other devices except for computers. I don't care how my TV or
radio are decoding signals.

Users only need to manually delete files in the temp directory when they
need to fix an application's problem. And that's only because the
application most likely didn't create temp files properly in the first
place. On NTFS Windows 2000/XP/Vista supports a "temporary file" attribute
(FILE_ATTRIBUTE_TEMPORARY and FILE_FLAG_DELETE_ON_CLOSE). File with
FILE_FLAG_DELETE_ON_CLOSE set are automatically deleted when they are closed
or the process crashes. FILE_ATTRIBUTE_TEMPORARY causes files to remain in
memory only until memory is needed for other purposes.

The mechansims are there in Windows for almost 10 years now, but nobody uses
them. Actually, all but VFP 6 which used it for SCX/SCT files causing form
files to disappear when VFP or the computer crashed.

> 2. Better yet: delete temp files automatically on shutdown or restart.

Which would make it a bit difficult to analyze log files that have been
created during shutdown or startup. <g>

-- 
Christof



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to