I would like to create a .bat file to automate a process I have to do every day.
When I start working, I open the terminal of nodejs, access the directory of my project (in my case I use babel) and then I need to execute the command npm run babel
.
The problem is that I work on more than one project. Then I sometimes have to navigate the terminal to the directory and then I need to run the command to start babel.
I would like to create a .bat file for each project, so that everything is already configured and when I click on the .bat file of the project I want, it opens the nodejs terminal and executes the commands I want. Is this possible?