Windows batch cleaner

Custom / CUSTOM
August 7, 2010 at 11:46:54
Specs: Windows Vista, 3.4 GHz / 2045 MB
Hello
I am running windows 98se right now in vmware.
I am trying to make a batch file that will scan the windows TEMP folder and look for .TMP , .CHK files and delete them. How ever i am having a hard time figuring out the code. Also am i missing any other temp files?

CPU : Intel Dual-Core 3.40GHZ
Memory: 2 GB DDRM
Video Card: Nvida 9500 GT
Sound : SoundMAX Onboard
OS: Vista


See More: Windows batch cleaner

Report •


#1
August 7, 2010 at 11:56:05
DEL /f /s /q P:\a\t\h\*.tmp
DEL /f /s /q P:\a\t\h\*.chk


Report •

#2
August 7, 2010 at 12:00:24
Thx but i need it to find those files list them in groups and let the user decide witch ones to keep. It would also show how many mb of internet cache files and that stuff

CPU : Intel Dual-Core 3.40GHZ
Memory: 2 GB DDRM
Video Card: Nvida 9500 GT
Sound : SoundMAX Onboard
OS: Vista


Report •

#3
August 7, 2010 at 12:22:54
DEL /f /s /p P:\a\t\h\*.tmp
DEL /f /s /p P:\a\t\h\*.chk

with the /p switch, it will now prompt for confirmation before deleting each file.


Report •

Related Solutions

#4
August 7, 2010 at 12:39:27
I don't think Win98's DEL supports the /F or the /S.
It does have DELTREE, though.

Report •

#5
August 7, 2010 at 12:46:12
All /f does is allows deletion of hidden files, and /s is files in sub directories. You are right about 98 not supporting them, but you don't need it.

/p is all you need because it prompts for confirmation.


Report •

#6
August 8, 2010 at 05:30:16
Hi R2,

I think you're right. I'll boot 98 and check. Stay tuned.


=====================================
Helping others achieve escape felicity

M2


Report •

#7
August 8, 2010 at 05:41:33
R2 is right, as usual.

98 del has only /p.


=====================================
Helping others achieve escape felicity

M2


Report •


Ask Question