Welcome!

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

SignUp Now!

DO ... /A:-D?

May
12,621
152
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