Some windows launcher applications launch only .exe files and doesn't support launching script files like .bat files. runsibling
works as a .exe file just to launch the same name .bat file, and helps those launcher applications launch files other than .exe files.
-
Create your script file. We create
myscript.bat
for example:@ECHO OFF ECHO "I'm launched with %*"
-
Rename
runsibling.exe
tomyscript.exe
and put in the same directory wheremyscript.bat
exists. -
myscript.exe
launchesmyscript.bat
:> .\myscript.exe a b c d "I'm launched with a b c d"
runsibling.exe
finds a file with the same name to itself
and with an extension defined in the PATHEXT
environment variable.
You can easily build runsibling.exe
with docker-compose:
docker-compose run --rm build