1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

DO ... /A:-D?

Discussion in 'Support' started by vefatica, Oct 6, 2011.

  1. vefatica

    Joined:
    May 20, 2008
    Messages:
    7,959
    Likes Received:
    30
    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.
     
  2. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,860
    Likes Received:
    83
    It doesn't matter for DO either. The problem isn't in the order, it's that
    the /A:-D switch is only being partially removed by DO. I've fixed it for
    build 25 (which should be out later today).
     

Share This Page