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

Another DO /L question

Discussion in 'Support' started by vefatica, Aug 22, 2010.

  1. vefatica

    Joined:
    May 20, 2008
    Messages:
    7,883
    Likes Received:
    29
    Is it intended that DO /L process an empty string after a final separator?

    Code:
    v:\> type dochar.bat & dochar.bat
    do c in /T"," /L a,b,c,
            echo %c
    enddo
    
    a
    b
    c
    ECHO is OFF
     
  2. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,804
    Likes Received:
    82
    Yes.

    Rex Conn
    JP Software
     

Share This Page