Mail Archives: djgpp/2002/11/21/11:50:33
> From: Wilfried Hennings <nospam AT fz-juelich DOT de>
> Newsgroups: comp.os.msdos.djgpp
> Date: Thu, 21 Nov 2002 11:58:41 +0100
>
> > I hope this is the refreshed v2.03, the one that has several fixes
> > that specifically target W2K and XP systems. If not, please install
> > the refresh.
> How can I see whether it is? At least the files are dated Aug15, 2002.
That sounds like the refreshed release.
> > That's not true, to the best of my memory: the program name is not
> > abbreviated when `system' looks for it along the PATH.
> >
> > DJGPP's library sources are freely available, so I suggest to download
> > djlsr203.zip and trace the execution of the functions on system.c and
> > dosexec.c modules. If you see the abbreviation, please point out
> > where is it done.
>
> As far as I can see, in dosexec.c lines 182 to 207.
I think you misunderstood the code: what that fragment does is put the
short 8+3 alias of the program's name into the place that will be
passed to the program as its argv[0]. This is what Windows does as
well, and has nothing to do with how the executable file is searched
on disk.
> > Invoke the batch file like this:
> >
> > command.com /e:2000 /c latex2png
>
> That's it! Thanks! and best regards from
You are welcome.
- Raw text -