Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

DO ... /A:-D?

May
12,845
164
This produces expected output.

Code:
g:\> do f in /s * ( echo %@filename[%f] )
This produces no output.

Code:
g:\> do f in /a:-d /s * ( echo %@filename[%f] )
This again produces expected output.

Code:
g:\> do f in /s /a:-d * ( echo %@filename[%f] )
The order of the options matters. Is that WAD, documented? It doesn't matter for DIR.
 
Back
Top