For all you old "Dosasauruses" out there, here's a challenging batch file I'd like to get off the ground.
I would like to delete files in my two default Temp locations always from yesterday on back.
Is there a way to invoke "Dir" (inside the batch file) to separate the files as to date and send them to a staging folder where I can use "Del" to remove them?
There are always fresh temp files generated each bootup to prevent a del *.* scenario from working.
I've only been using XP for a couple of weeks and I found over a thousand garbage temps in both locations. I'd like to work toward the end of keeping that to a minimum; ergo the batch file idea.
What say you guys?
I would like to delete files in my two default Temp locations always from yesterday on back.
Is there a way to invoke "Dir" (inside the batch file) to separate the files as to date and send them to a staging folder where I can use "Del" to remove them?
There are always fresh temp files generated each bootup to prevent a del *.* scenario from working.
I've only been using XP for a couple of weeks and I found over a thousand garbage temps in both locations. I'd like to work toward the end of keeping that to a minimum; ergo the batch file idea.
What say you guys?