A string can be created in DOS in the following way.
@echo off :: This program just displays Hello World set message = Hello World echo %message%
The above command produces the following output.
Hello World