@steef-van-der-Poel If you want to run a .jar executable, you need to run it using java. This is best done with a batch script like the following file:
Batch Script (launch.bat
)
cd C:\Users\steef\Desktop\minecraftServer
java -Xmx1024M -Xms1024M -jar minecraft_server.1.21.4.jar > log.txt 2>&1
Your TriggerCMD command would have to be executing the .bat file
Something like this would work, the command comes from Minecraft's site:
https://www.minecraft.net/en-us/download/server