TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
Last week I asked about how to remove unwanted Word tmp files. When word crashes
it leaves *.TMP files in in the temp dir defined in the path, and ~*.doc files
in the working dir.
Suggestions included periodically using 95's Find to delete the files (snag: not
automatic); using the utils NU Space Wizard or 4DOS, and a gloriously kludgy DOS
batch workaround.
I think the best solution would be a Word macro activating on Word Exit using
the kill command on unwanted files. However, since I don't have time to write
it, I have used the shareware PDEL.EXE (Ira Jacobson's suggestion). By adding in
autoexec.bat the line
pdel *.tmp,~*.doc /ba /nm /s /d:(5
I delete at bootup all unwanted files more than five days old.
mailto:John -dot- Cornellier -at- paris -dot- cards -dot- delarue -dot- com