View Full Version : temp file?
Hy
December 5th 03, 11:00 PM
Should I delete all files in my following folder? C:\Documents and
Settings\home\Local Settings\Temp
It has like 400 MB, 1000+ files that have .tmp extension.
Any way like write a batch file and use it will automatic delete all files
end in .tmp in my C:\Documents and Settings\HH\Local Settings\Temp\*.tmp
?
I know there is away, but I can't do it with the space in the folder name
(C:\Documents<space> and<space>Settings\HH\Local<space>Settings\Temp)
johnf
December 5th 03, 11:00 PM
> Should I delete all files in my following folder? C:\Documents and
> Settings\home\Local Settings\Temp
> It has like 400 MB, 1000+ files that have .tmp extension.
Yes, XP will not allow you to delete anything that shouldn't be deleted at
this point in time.
>
> Any way like write a batch file and use it will automatic delete all
> files end in .tmp in my C:\Documents and Settings\HH\Local
> Settings\Temp\*.tmp
>
Why? That's what Disk Cleanup is for.
> ?
> I know there is away, but I can't do it with the space in the folder
> name (C:\Documents<space>
> and<space>Settings\HH\Local<space>Settings\Temp)
Ken Blake
December 5th 03, 11:01 PM
In ,
Hy > typed:
> Should I delete all files in my following folder? C:\Documents
and
> Settings\home\Local Settings\Temp
> It has like 400 MB, 1000+ files that have .tmp extension.
Yes. They can, and should be, deleted periodically. You can
safely delete anything except those in use, but since Windows
won't let you delete a file in use, it's safe to try to delete
them all.
Just don't delete them automatically as soon as you boot. That
can screw up program installations that work in two steps--the
first step ending by saving temp files and rebooting; the second
step needing to find those temp files when the boot completes.
> Any way like write a batch file and use it will automatic
delete all
> files end in .tmp in my C:\Documents and Settings\HH\Local
> Settings\Temp\*.tmp
Sure, that's fine.
--
Ken Blake
Please reply to the newsgroup
vBulletin® v3.6.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.