Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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 wandering the Monastery: (10)
As of 2014-12-19 09:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (77 votes), past polls