how to delete temporary files automatically

C

Charles Rogers

I've been using disk cleanup to delete my temporary files, and noticing that
in a few days, my XP system can generate a gigabyte of temporary files.
This is a lot of space, since my C disk is only 5GB.

Is there something I can schedule to run every day that will delete old
temporary files automatically?

Thanks,
Chaz
 
R

Richard Urban

It is easy to place a shortcut to your temp folder on your desktop. Then
just open the temp folder from there. Press ctrl | A to select all the
files. Press the delete key.

--
Regards,

Richard Urban

aka Crusty (-: Old B@stard :)

If you knew as much as you thought you know,
You would realize that you don't know what you thought you knew!
 
C

Charles Rogers

The disk cleanup utility says it only deletes files that are a week old, to
make sure nothing gets deleted before the system is really done with it.

Your method just deletes everything in temporary files, regardless.
 
R

R. McCarty

You should check the content of the Temporary folder. A Gig of
temp/workspace data in a few days, doesn't seem normal at all.
Unless you have some kind of logging or tracing going on, the XP
temp shouldn't have anywhere near that amount of files/folders.
 
C

Charles Rogers

And besides that, your method doesn't run automatically on a schedule, I
would still have to do it myself every time.
 
L

lvee

I don't know how to schedule file deletion, but you can set your browser to
empty your temp files every time you close your browser. I have IE toolbar,
not sure what you have, but for IE, go to tools>internet options>advance
tab>scroll down to security, and check the box next to 'empty temporary
files folder when closing browser...or however it's worded.
I also agree that seems like an extraordinary amount of space designated to
your temp files. What do you have it set at?
 
W

Wesley Vogel

I have Disk Cleaner set to run quiet at startup. Runs for 10 seconds or so
and exits. I also like the fact that, after you set it up, it cleans all
the following with one click (and/or automatically at boot). Makes XP's
Disk Cleanup look like a piker. XP's Disk Cleanup will *not* clean
Content.IE5.

Disk Cleaner will Clean:
Temporary Internet Files {Including the contents of the Content.IE5 folder}
Internet Cookies
Internet History
System Temporary Folder
Recent Documents
Run... Dialog List
Find Document List
Find Computer List
URLs in IE Address Bar
URLs in Shell Address Bar
Media Player Recent URLs
WinZip Recent Files
WinZip Extract To Folders
Paint Recent Files
WordPad Recent Files
Cleans Recycle Bin (what else?)
Opera Cache
Opera Cookies
Opera History
Opera Visited links
Opera Download History and Download folder
Firefox Cache
Firefox Cookies
Firefox History

Disk Cleaner
http://www.xs4all.nl/~mp2004/

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
C

Charles Rogers

Your method does not take into account automatic scheduling.

Furthermore, this kind of maintenance can be done without add-on software.

XP provides a Scheduled Task tool under System Tools (in Accessories). It
should be possible to set up a batch command file that will delete files
from a directory based on the age of the file, and then schedule the batch
file.

Apparently this newsgroup is made up of people who only know how to navigate
through dialogues.
 
C

Charles Rogers

I sometimes have XP running for weeks at a time. Putting something in the
Startup folder is not the equivalent of scheduling a task.

And perhaps you should read my reply to bumtracks above.
 
B

bumtracks

you apparently aren't hip to scripting, suggest you go do your homework
because it seems everyone here is dumber than you.
 
R

Richard Urban

So, set up a batch command. It will work. You just told us so!

BTW: it will.

--
Regards,

Richard Urban

aka Crusty (-: Old B@stard :)

If you knew as much as you thought you know,
You would realize that you don't know what you thought you knew!
 
C

Charles Rogers

What a swell-headed pervert.

Can't answer my question, and then pretends he knew how to do it all along.
 
R

Richard Urban

Hey! You're the one who is smarter than everyone in this newsgroup. Do it!

I can tell you why you shouldn't - but I am sure you don't really want to
know.

--
Regards,

Richard Urban

aka Crusty (-: Old B@stard :)

If you knew as much as you thought you know,
You would realize that you don't know what you thought you knew!
 
P

Peter Foldes

It is time that you may want to purchase the book XP for Dummies. 2 people
gave you the answer for deleting ALL *.temp files from your XP OS from an
automatic scheduled program. Post the script that you wrote and let me take
a look at it. Possibly I can add a few lines to schedule a immediate *.tmp
delete on your command .
 
S

Stan Brown

I sometimes have XP running for weeks at a time. Putting something in the
Startup folder is not the equivalent of scheduling a task.

And perhaps you should read my reply to bumtracks above.

And perhaps you could learn to quote properly.[1] Your "snappy"
little comments are impossible to follow without context. (It
wouldn't hurt to lose the snappiness too -- it's usually bad
tactics to insult the people you are asking for help.)

[1] http://oakroadsystems.com/genl/unice.htm#quote
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top