Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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 having an uproarious good time at the Monastery: (7)
As of 2014-09-03 03:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (35 votes), past polls