Re: TECH: TMP files that won't go away

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 :

Posts: mailto:techwr-l -at- listserv -dot- okstate -dot- edu
Commands: mailto:listserv -at- listserv -dot- okstate -dot- edu (e.g. SIGNOFF TECHWR-L)
Archives: http://listserv.okstate.edu/archives/techwr-l.html,
http://www.documentation.com/, or http://www.dejanews.com/
Subjects: JOB:, QUESTION:, SUMMARY:, ANNOUNCE:, or none of these.



Previous by Author: Re: QUESTION: Using Information Modules
Next by Author: Re: Tech writers doing creative writing
Previous by Thread: Re: TECH: TMP files that won't go away
Next by Thread: Re: TECH: TMP files that won't go away


What this post helpful? Share it with friends and colleagues:


Sponsored Ads