windows command line concatenate string code example Example: batch concatenate strings SET Wld=World echo Hello %Wld%