Is there ready made solution to run program (let's call that
.exe file extension (extension is important) that looks for static configuration file, for example
launcher.cfg, and launches another program specified within configuration file.
launcher.exe that will execute
launcher.cmd or some other script that can be used to pass control forward.
Another explanation of requirements if that is not already clear enough:
1. User or some other program launches
program.cmd which is shell script executed by
Important thing is that
launcher.exe is program with
.exe file extension and it does not need any command line arguments to launch another script or program with command line arguments.