Tom's Hardware > Forum > Windows XP > Windows XP General Discussion > Temp files, can I delete them all?
Word :    Username :           
 

Archived from groups: microsoft.public.windowsxp.perform_maintain (More info?)

 

Hi All,

Any problem deleting all .TMP offf my windows XP setup? What are the risks?
How come Disk Cleanup doesn't get them all?

Thanks,

Greg

Sponsored Links
Register or log in to remove.

Archived from groups: microsoft.public.windowsxp.perform_maintain (More info?)

 

All tmp files can be deleted. If they are from a old program that you no
longer use you may have to go to C:\Program Files
and delete the program folder. That's after you have remove the program
using Add/Remove Programs in Control Panel.
"Greg" <bcycle@verizon.net> wrote in message
news:BuOMe.7435$Al5.4214@trnddc04...
>
> Hi All,
>
> Any problem deleting all .TMP offf my windows XP setup? What are the
> risks? How come Disk Cleanup doesn't get them all?
>
> Thanks,
>
> Greg
>

Reply to Anonymous
- 0 +

Archived from groups: microsoft.public.windowsxp.perform_maintain (More info?)

 

I have a batch file that does a searching delete of all temp files. The
reason this is safe is that, if a TMP file is active, you're not allowed to
delete it. i.e., the file is locked. So the attempt just produces an error on
that instance and continues on to the next.

Here's the batch script:
del %systemdrive%\*.tmp /s
del %systemdrive%\~*.* /s

There are ocassional knuckleheads who write programs that use tmp's that
aren't locked, and this might cause that one program to slow down as it
rebuilds the tmp dynamically.

Unless anyone else knows of some other pitfall, all I can say is I've been
running this batch program on my 80 machines for years with no problems.

JeffO


"Greg" wrote:

>
> Hi All,
>
> Any problem deleting all .TMP offf my windows XP setup? What are the risks?
> How come Disk Cleanup doesn't get them all?
>
> Thanks,
>
> Greg
>
>
>

Reply to Jeffo
- 0 +

Archived from groups: microsoft.public.windowsxp.perform_maintain (More info?)

 

Hey JeffO,

I have no idea how to run a batch file, can you tell me how?

Thanks,

Greg


"Greg" <bcycle@verizon.net> wrote in message
news:BuOMe.7435$Al5.4214@trnddc04...
>
> Hi All,
>
> Any problem deleting all .TMP offf my windows XP setup? What are the
> risks? How come Disk Cleanup doesn't get them all?
>
> Thanks,
>
> Greg
>

Reply to Greg
- 0 +

Archived from groups: microsoft.public.windowsxp.perform_maintain (More info?)

 

Greg wrote:
> Hey JeffO,
>
> I have no idea how to run a batch file, can you tell me how?
>
> Thanks,
>
> Greg
>
>
> "Greg" <bcycle@verizon.net> wrote in message
> news:BuOMe.7435$Al5.4214@trnddc04...
>
>>Hi All,
>>
>>Any problem deleting all .TMP offf my windows XP setup? What are the
>>risks? How come Disk Cleanup doesn't get them all?
>>
>>Thanks,
>>
>>Greg
>>
>
>
>

I case no ones replied. just go to start, run then type cmd. on the dos
windows just paste the above and it should work.

Hope that helps,

Z

Reply to z
- 0 +

Archived from groups: microsoft.public.windowsxp.perform_maintain (More info?)

 

Greg wrote:
> Hey JeffO,
>
> I have no idea how to run a batch file, can you tell me how?
>
> Thanks,
>
> Greg
>
>
> "Greg" <bcycle@verizon.net> wrote in message
> news:BuOMe.7435$Al5.4214@trnddc04...
>
>>Hi All,
>>
>>Any problem deleting all .TMP offf my windows XP setup? What are the
>>risks? How come Disk Cleanup doesn't get them all?
>>
>>Thanks,
>>
>>Greg
>>
>
>
>
Thanks greg! this is good little string. I use to have shortcuts to all
the folders that stored things like tmp and cookies stored in one folder
and just periodically delete them. this is much quicker.

Z

Reply to z
Tom's Hardware > Forum > Windows XP > Windows XP General Discussion > Temp files, can I delete them all?
Go to:

There are 1098 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them