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:
    8,058
    Likes Received:
    30
    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:
    10,022
    Likes Received:
    84
    Yes.

    Rex Conn
    JP Software
     

Share This Page