Is there a way to start both my dashboard and discord bot in one notepad(.bat) file?

I want to know if there’s a way to start multiple commands in notepad(.bat)

I have a discord project folder, and within that folder, I have another folder with my dashboard. What I want to do is, make it so in the notepad, it starts the discord bot with ‘node .’, then does ‘cd dashboard’, and npm start, all in 1 cmd.

If theres not a way to do it like that, is there a way I can deploy both the discord bot and dashboard in 1 heroku app? I can’t make the dashboard seperate from the discord bot folder because the dashboard requires some databases from the bot.


I believe you can change this with the package.json start key: right now it probably says start: node server.js but you can modify this to perform other actions.