boe said:
Is there a command like deltree for XP?
I need to put it in a batch file I will be using on a regular basis.
Thanks
Do a Google search and you can locate it. The Win9x version runs fine on
XP if you know someone that still has it (or a CD to expand the file). I
put it on every computer I configure and have the temp folders cleaned
out on startup.
Using DEL won't remove empty folders (it will delete files in folders
but not remove the folders themselves). The only makeshift way is to use
RD & MD together like:
RD c:\temp
MD c:\temp
but I like DELTREE better.