Are you sure you did not download some malware? This sounds like malware.
Unfortunately, there is a lot of malware on Itch.
If you do trust the developer, you need to ask on the comment section of that game. Having a cmd box open is very unusual these days.