@ECHO OFF SET variable=2 ECHO Some text... > file.bat ECHO %variable% >> file.bat ECHO More text.. >> file.bat
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)