automatically deleting temporary files

  • Thread starter Thread starter Charles Rogers
  • Start date Start date
C

Charles Rogers

I've been running disk cleanup recently and noticed that in a few days, my
XP system can generate a gigabyte of temporary files. Since my C disk is
only 5GB, this is a rather significant amount. XP was crashing about once a
week or so, and I started running disk cleanup just to see if the disk was
filling up.

Is there some way I can schedule something that will automatically clean up
temporary files every day?

Thanks,
Chaz
 
Charles Rogers said:
I've been running disk cleanup recently and noticed that in a few
days, my XP system can generate a gigabyte of temporary files. Since
my C disk is only 5GB, this is a rather significant amount. XP was
crashing about once a week or so, and I started running disk cleanup
just to see if the disk was filling up.

Is there some way I can schedule something that will automatically
clean up temporary files every day?

Thanks,
Chaz

How to Automate the Disk Cleanup Tool in Windows XP
http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q315246

Once you configure how you want the Disk Cleanup (cleanmgr /sageset:n)
to run then you can schedule a task with your setup Disk Cleanup
(cleanmgr /sagerun:n).
Where n is the number you assign for type of Disk Cleanup.
 
Charles said:
I've been running disk cleanup recently and noticed that in a few days, my
XP system can generate a gigabyte of temporary files. Since my C disk is
only 5GB, this is a rather significant amount. XP was crashing about once a
week or so, and I started running disk cleanup just to see if the disk was
filling up.

Is there some way I can schedule something that will automatically clean up
temporary files every day?

Thanks,
Chaz

5GB is way too small for the system volume for default XP setups. I
wouldn't use anything smaller than 10GB.

In addition to the other replies about deleting tmp files, you need to
find out why your machine is crashing. Please gather and post as much
detailed information about what you're running/doing at the time the
crashes occur, any error messages in detail, and system spec's. Do a
Start, Run, type in chkdsk /f, press enter, answer Y and reboot. Then
right click on My Computer, Manage, Event viewer, look in Applications
for Winlogon entries for chkdsk results and any error entries, also look
in System for error entries and post the results here.

Steve
 
Back
Top