Used e.g. in a Windows shortcut:
"Launcher.exe" "/run:My Exe.exe" "Par 1" "Par 2" [...]
To put it in the simplest possible way: Even a simple BatchFile.bat with the content:
start "" %1 %2 %3 %4
could be run in DOS it this manner:
C:\>BatchFile.bat "" "My Exe.exe" "Par 1" "Par 2" [...]
and would run the 'My Exe.exe' with the specified parameters.
That is exactly what I would need, but:
– as an executable
– with a size of < 50 kB
- supporting Unicode characters in file names and parameters (!)
- running on every Windows machine (no .NET dependency or...)
My specific question:
– Does someone here know such a tool (it must be open source)?
- If not, in which programming language such a tool could be written in the easiest way?
In both cases there should be a free compiler available to compile the code.
NOTE: I'm more than amazed that such a tool
– can easily be written in AHK* and
– the same functionality is provided already by an one-line batch script**,
but the same seems to be hardly to implement in a higher-level programming language (mainly because of the Unicode support?).
Or am I wrong?
* ... executable too big
** ... without Unicode support and not as an executable