Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
go ahead... be a heretic
 
PerlMonks  

Re: Recursive Directory Tree Deletion in Windows

by Anonymous Monk
on Oct 19, 2000 at 23:50 UTC ( [id://37598]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Recursive Directory Tree Deletion in Windows

Am I missing something, or is the underlying OS command relevant here?
C:\WINDOWS>deltree -? Deletes a directory and all the subdirectories and files in it. To delete one or more files and directories: DELTREE [/Y] [drive:]path [[drive:]path[...]] /Y Suppresses prompting to confirm you want to delete t +he subdirectory. [drive:]path Specifies the name of the directory you want to dele +te. Note: Use DELTREE cautiously. Every file and subdirectory within the s +pecified directory will be deleted.

Replies are listed 'Best First'.
RE: Re: Recursive Directory Tree Deletion in Windows
by the_slycer (Chaplain) on Oct 20, 2000 at 02:21 UTC
    First - he only wants to recursively delete directories that match a particular string. Secondly - deltree is suspiciously missing on Windows 2000 :-(
      Win2K uses `rmdir`, no more deltree (same functionality though)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://37598]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.