Saturday, December 12, 2015

How to coding a batch file to generate another batch file

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'


Copyright © www.koliyat.com