working batch example without xml