Removing temp files - batch - Techist - Tech Forum

Go Back   Techist - Tech Forum > Computer Software > Microsoft Windows and Software
Click Here to Login
Closed Thread
 
Thread Tools Display Modes
 
Old 02-13-2008, 02:14 PM   #1 (permalink)
Newb Techie
 
Join Date: Feb 2008
Location: Middleton, WI
Posts: 30
Angry Removing temp files - batch

Hello everyone,
Being my first post I'm sure some of you are slightly reluctant to help out, but granted this place looks like it has allot of traffic, I'm sure I will stick around and give my fair share back to the "Tech-Forums.net" user group.

I need some syntax for a win xp sp2 batch file. All I'm trying to do is delete some stupid temp internet files, and it will just not work. The del command works fine, I pass a q switch to make it override, and all is smooth for ANY file but the temp folder. This batch just WONT delete a single temp internet file. Any thoughts?

Thanks!
__________________

jakeyman_i_am is offline  
Old 02-13-2008, 02:22 PM   #2 (permalink)
Ste
Do not Stare at my Avatar
 
Ste's Avatar
 
Join Date: Aug 2005
Location: Upon Gleaning Infinity
Posts: 9,577
Send a message via MSN to Ste
Default Re: Removing temp files - batch

Have you tried any programs such as but not limited to:
Regseeker
Deep delete
Killbox
hijackthis
CC Cleaner (or whatever it is called)

With killbox and hijackthis there are delete on reboot features, but you will need to know the exact location of the given files.
__________________

Ste is offline  
Old 02-13-2008, 02:24 PM   #3 (permalink)
Newb Techie
 
Join Date: Feb 2008
Location: Middleton, WI
Posts: 30
Default Re: Removing temp files - batch

Quote:
Originally Posted by Ste View Post
Have you tried any programs such as but not limited to:
Regseeker
Deep delete
Killbox
hijackthis
CC Cleaner (or whatever it is called)
...
Thanks for the advice but i would rather not use additional programs. There has to be a way to do this...
jakeyman_i_am is offline  
Old 02-13-2008, 02:26 PM   #4 (permalink)
Ste
Do not Stare at my Avatar
 
Ste's Avatar
 
Join Date: Aug 2005
Location: Upon Gleaning Infinity
Posts: 9,577
Send a message via MSN to Ste
Default Re: Removing temp files - batch

What programs have you already tried that make these "additional"?
Ste is offline  
Old 02-13-2008, 02:27 PM   #5 (permalink)
Newb Techie
 
Join Date: Feb 2008
Location: Middleton, WI
Posts: 30
Default Re: Removing temp files - batch

I mean programs in any respect. I'm sure that the xp os has something built in that could be used for this. I thought batch file was the answer.
jakeyman_i_am is offline  
Old 02-13-2008, 02:28 PM   #6 (permalink)
Ste
Do not Stare at my Avatar
 
Ste's Avatar
 
Join Date: Aug 2005
Location: Upon Gleaning Infinity
Posts: 9,577
Send a message via MSN to Ste
Default Re: Removing temp files - batch

Not that I know of. If something won't delete through Shift delete or Cmd prompt. Use a program.
Ste is offline  
Old 02-13-2008, 02:32 PM   #7 (permalink)
Newb Techie
 
Join Date: Feb 2008
Location: Middleton, WI
Posts: 30
Default Re: Removing temp files - batch

Thank you!

Although if you think about it, I'm sure the program will be just using basic windows commands. It can't be doing anything more than that.

Either way, I will look around...
jakeyman_i_am is offline  
Old 02-13-2008, 02:34 PM   #8 (permalink)
Ste
Do not Stare at my Avatar
 
Ste's Avatar
 
Join Date: Aug 2005
Location: Upon Gleaning Infinity
Posts: 9,577
Send a message via MSN to Ste
Default Re: Removing temp files - batch

Sometimes yes, but the delete on reboot feature trys to delete a file or folder before the majority of window's services start up.

If those programs don't work you can try deleting it through the recovery console when booting ofo of the windows OS disk and if that doesn't work, a linux live cd probably will.
Ste is offline  
Old 02-13-2008, 02:45 PM   #9 (permalink)
Newb Techie
 
Join Date: Feb 2008
Location: Middleton, WI
Posts: 30
Default Re: Removing temp files - batch

Good ideas -

I don't need to get too complicated. All I'm trying to do is keep my disk a little cleaner. Also this would be a great thing for some of my users at work.. Considering a few of them are pro surfers
jakeyman_i_am is offline  
Old 02-13-2008, 03:11 PM   #10 (permalink)
Techalicious
 
Redmo0n's Avatar
 
Join Date: Aug 2007
Location: Perth, Australia
Posts: 1,566
Send a message via MSN to Redmo0n
Default Re: Removing temp files - batch

Download CCleaner 2.04.543 - filehippo.com

Honestly an excellent tool that won't just clean temp files but history, MRU's, Prefetch Data and many more. It also has a registry cleaner to clean out your system registry for a bit more speed

And you can control what it removes so it's very flexible (but i have mine set for it to clean everything). And probably the best party, it takes a few seconds to a few minutes at the most (heavily clogged pc's)
__________________

__________________
Back to stay?
Redmo0n is offline  
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HijackThis logs for Security Team members only Trotter Viruses, Spyware and Malware 34 01-25-2008 01:13 PM
New Log enigm@tic HijackThis Logs (finished) 4 12-13-2007 08:45 PM
friends log Static_11 HijackThis Logs (finished) 11 11-25-2007 10:27 PM
Batch files or creating somethign which opens a bunch of files simulatnously jonathanwest Microsoft Windows and Software 1 07-21-2007 02:21 PM



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 12:09 PM.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.