deleting non-empty folders 
Author Message
 deleting non-empty folders

Is there a way to delete a folder with existing data in it -- I mean just
like the deltree command?  RMDIR is just like RD and I don't like that.

Help please!

JBACLOR





Sat, 03 Mar 2001 03:00:00 GMT  
 deleting non-empty folders
What the (excuse my language) HELL is wrong with DELTREE.EXE ??
It does a perfectly good job, and RD/RMDIR can't delete a directory with
existing data in. Only empty directories.

- Thomas Daugaard


Quote:
>Is there a way to delete a folder with existing data in it -- I mean just
>like the deltree command?  RMDIR is just like RD and I don't like that.

>Help please!

>JBACLOR






Sat, 03 Mar 2001 03:00:00 GMT  
 deleting non-empty folders

Quote:
> What the (excuse my language) HELL is wrong with DELTREE.EXE ??
> It does a perfectly good job, and RD/RMDIR can't delete a directory with
> existing data in. Only empty directories.

Presumeably they meant Programmatically, when shelling to deltree
looks a bit untidy. I suppose you could use a recursive delete files
through all sub-dirs, but that would take a while.

Simon.



Sat, 03 Mar 2001 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Delete Empty Folders

2. How delete empty folder with vbscript

3. Quick Question about deleting empty folders

4. How to delete folders/files within a folder but not the folder itself

5. Deleting certian Files in Folders and there sub folders

6. Deleting mails in deleted folder

7. Programmatically delete Deleted Items folder once a day

8. Delete without going to deleted items folder !

9. Smart Delete Files And Smart Delete Folders Routines?

10. Function executes only when all arguments are non-empty

11. empty Non-Deliverable report message body property

12. Remove a non empty Directory

 

 
Powered by phpBB® Forum Software