:: is another way of writing comments but comments are also echoed into the terminal so while it works it has the same issue.::line1:: BATCH_PROGRAM=[[@echo offgoto:eof]]Z:\home\caps>test.batZ:\home\caps>::line1:: BATCH_PROGRAM=[[
::line1:: BATCH_PROGRAM=[[