DOS BAT syntax for printing two consecutive variables Posted on June 15, 2009January 12, 2012 by Daniel Oliver @echo off set v1=variable1 set v2=variable2 echo This line will print two variables: “%v1%” and “%v2%”. Share this:Click to share on LinkedIn (Opens in new window)Click to share on Twitter (Opens in new window)Click to share on Facebook (Opens in new window)Click to share on Pocket (Opens in new window)Like this:Like Loading...