The following batch script will generate another batch file named 'test.bat' with title, welcome message etc.
@echo off
echo @echo off > test.bat
echo Title Muneer's World >>test.bat
echo echo Welcome to Muneer's world >>test.bat
echo pause >>test.bat
echo A batch file was created with name of 'test.bat'
pause
echo @echo off > test.bat
echo Title Muneer's World >>test.bat
echo echo Welcome to Muneer's world >>test.bat
echo pause >>test.bat
echo A batch file was created with name of 'test.bat'
pause