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

DO ignores switch /D ?

Discussion in 'Support' started by Stefano Piccardi, Jan 28, 2009.

  1. Stefano Piccardi

    Joined:
    May 31, 2008
    Messages:
    376
    Likes Received:
    2
    According to the manual, DO /D"path" /S * should iterate fileset in "path". Instead it seems to ignore the /D switch and always start iterating in the current directory. Is this a bug or have I missed something?
    Versions TCC 9.02.152 - WinXP Pro SP3
    PHP:
    REM help file: DO varname IN [range...] /D"directory" [/I:"text" /S[n] /A:[[-|+]rhsadecijoptfileset
    pushd C
    :\ & rem debug
    do i in /D"%TEMP%" //A:*
      echo %
    i
    popd 
    rem debug
    quit 
    rem debug
    enddo
     
  2. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,726
    Likes Received:
    80
    Stefano Piccardi wrote:

    Already fixed in v10; v9 will be updated after v10 is released.

    Rex Conn
    JP Software
     

Share This Page