В токен запиши токен бота
from aiogram import Bot, Dispatcher, executor, types
from os import system
token = ""
bot = Bot(token=token)
dp = Dispatcher(bot)
keyboard = types.ReplyKeyboardMarkup(resize_keyboard=True)
keyboard.add("start_bat")
@dp.message_handler(commands="start")
async def cmd_test1(message: types.Message):
await message.answer("Приступим", reply_markup=keyboard)
@dp.message_handler(lambda message: message.text == "start_bat")
async def with_puree(message: types.Message):
system("start C:/files/your_bat.bat")
await message.answer("батник запущен")
executor.start_polling(dp, skip_updates=True)