Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: removing directories with wildcard glob in OS-portable way

by BrowserUk (Pope)
on Dec 30, 2012 at 00:14 UTC ( #1010862=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    system qq[ for /d %d in ($tmp\\scale-*) do @rd /q /s %d ];
    
  2. or download this
    C:\test>dir /b /s ppp
    C:\test\ppp\donttouch
    ...
    C:\test>dir /b /s ppp
    C:\test\ppp\donttouch
    C:\test\ppp\donttouch\junk.1
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1010862]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2016-07-01 12:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (411 votes). Check out past polls.