@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>&1Your 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
a66cf93e-d25e-4307-8d9a-ba761eec8e5c-image.png