I want to create a bat file that will run a sequence of actions:
1. Transfer to a folder level higher
2. Transfer to a folder on the backend
3. Start the server with the command "pm2 start index.js"
4. Run logs "pm2 logs"
Preferably the console is left open
Now stumbled on the third paragraph. Open two consoles, one with the desired folder, and second it makes clear that.
start /min cmd /k cd ..\\backend start "pm2 start index.js"