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
DEL /f /s /q P:\a\t\h\*.tmp DEL /f /s /q P:\a\t\h\*.chk
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
DEL /f /s /p P:\a\t\h\*.tmp DEL /f /s /p P:\a\t\h\*.chkwith the /p switch, it will now prompt for confirmation before deleting each file.
I don't think Win98's DEL supports the /F or the /S.
It does have DELTREE, though.
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.
Hi R2, I think you're right. I'll boot 98 and check. Stay tuned.
=====================================
Helping others achieve escape felicityM2
R2 is right, as usual. 98 del has only /p.
=====================================
Helping others achieve escape felicityM2
Yes (14) | ![]() | |
No (14) | ![]() | |
I don't know (15) | ![]() |