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.
Subject:Re: TECH: TMP files that won't go away From:"Michael A. Lewis" <lewism -at- BRANDLE -dot- COM -dot- AU> Date:Fri, 24 Oct 1997 18:07:22 +1000
Matt Ion's suggestion is attractive. Meanwhile, try a kludgy but
effective answer along these lines:
1. Issue the command "dir c:\*.tmp /o /s > c:\ctmp.bat".
Reissue with appropriate changes for all hard drives or partitions.
2. Open ctmp.bat (and dtmp.bat, etc) in any plain-text editor (DOS Edit,
Notepad, WordPad, etc).
If you DO NOT have long filenames, replace the leading "C:" in each line
with "del C:".
If you DO have any long filenames, replace each leading C: with del "C:,
and replace each trailing .TMP with .TMP" -- this puts quotes around the
full filename.
Save the changed file(s).
3. Invoke each .bat file to do the deletions.
Kludgy indeed, but it does the job.
--
Michael Lewis
Brandle Pty Limited, Sydney, Australia
: PO Box 1249 : Suite 8, The Watertower :
: Strawberry Hills, NSW 2012 : 1 Marian St, Redfern 2016 :
: Tel +61-2-9310-2224 : Fax +61-2-9310-5056 :