DO ... /A:-D?

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
#1
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.