Deltree

B

boe

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
 
T

Terry R.

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.
 
B

boe

Thanks I did not know that. I don't have 9x installed on any systems but if
you happen to know what cab it is on perhaps I can expand it from disk?
 
T

Terry R.

boe said:
By some freak accident it was in the first cab file I tried! 98 SE cab 21
Terry R. said:
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.

Have no idea why it was dropped, especially since nothing else works as
well.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

My WinXP Backup "System" 4
DELTREE 7
Delete folders using wildcard 2
Batch files 5
Batch file developement 6
command prompts 1
Clean command 5
How to more easily empty temp directory? 4

Top