On Thu, Oct 19, 2023 at 05:07:23PM +0300, Eli Zaretskii wrote: > On MS-DOS and MS-Windows, argv[0] is usually NOT what the user types > on the command line, it's what the OS fills in, and it usually puts > there the full absolute file name of the executable.
Not in the context of this code where argv is modified and passed to a different function to main.