I have a folder with an exe inside. I am creating a BAT file to run it. Here is the code:
START "C:\Program Files\myApp\XYNTService.exe -i"
EXIT
But the exe seems does not being executed. Only the cmd window appear with the path C:\Program Files\myApp.
How to make the exe run with the -i flag?
If the
STARTcommand sees something quoted, it assumes it is the title of the command window. The syntax ofSTARTlooks like this:So what you want to try is this: