Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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 cooling their heels in the Monastery: (7)
As of 2014-10-21 04:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (95 votes), past polls