Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
No such thing as a small change
 
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 musing on the Monastery: (9)
As of 2014-04-21 14:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (495 votes), past polls