Batch Script - Create String
Advertisements
A string can be created in DOS in the following way.
Example
@echo off :: This program just displays Hello World set message = Hello World echo %message%
Output
The above command produces the following output.
Hello World
batch_script_strings.htm
Advertisements