"https://freebasic.net/ The output exe is about 25 kb."
This sounds good. Could the following be done, for a newbie like me, in freebasic?
============
I am using a compiled AHK script "Launcher.exe" which just runs another exe and passes the CL parameters to it. But this Launcher.exe is an executable of about 400 kB size, of course. My problem is: I would need an executable with a size of < 50 kB. (Please don't ask what is the background of this whole setting, it makes sense in my project.)
Used e.g. in a Windows shortcut:
Code: Select all
"Launcher.exe" "/run:My Exe.exe" "Par 1" "Par 2" [...]
Code: Select all
start "" %1 %2 %3 %4
Code: Select all
C:\>BatchFile.bat "" "My Exe.exe" "Par 1" "Par 2" [...]
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