DO ... /A:-D?

May 20, 2008
12,167
133
Syracuse, NY, USA
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.