0

Sound pretty complicated but I simply just want a batch script that runs an exe file inside of the command prompt bc the exe file closes automatically if I run it usually, so that I won't be able to check the error code. I've already tried it with start (path) but this runs the exe directly and not in a command prompt. It would be really nice if someone can tell me how to do this

Sneazy好
  • 1
  • 1
  • 1
    Does this answer your question? [Batch that would open CMD and execute commands without closing CMD](https://stackoverflow.com/questions/47765838/batch-that-would-open-cmd-and-execute-commands-without-closing-cmd) Specifically, the part where you need to use `start "" cmd /k program.exe` – SomethingDark Mar 28 '22 at 21:26

0 Answers0