Mail Archives: djgpp/1996/12/10/17:50:23
On 5 Dec 1996, Eric Rudd wrote:
> I went back to the normal installation directory, and finally discovered
> the problem was that I had set the INFOPATH variable as follows:
>
> INFOPATH=c:\dj201/info
>
> instead of
>
> INFOPATH=c:/dj201/info
This conclusion is incorrect. Info happily handles both genders of
slashes. I tried both varieties and mixed cases on my system and
couldn't make Info crash at all. So it must be some other reason.
> if "%1" == "112" set DJDIR=c:\dj112
> if "%1" == "200" set DJDIR=c:\dj200
> if "%1" == "201" set DJDIR=c:\dj201
I submit that this fiddling with %DJDIR% is the culprit. DJGPP computes
the value of %DJDIR% based on the value of %DJGPP%. However, you set
%DJDIR% yourself, which might as well leave DJGPP startup code extremely
confused. Please try to undefine %DJDIR% and see if Info now works with
both forward- and backslashes alike. If so, use some other name for the
variable you now call %DJDIR% (still approximately 20 batch files to
change, sorry).
> I don't know if there is a lesson to be learned here or not, but I see now
> that I have approximately 20 batch files to change. Argh.
If I'm right, the lesson is: don't mess with variables used by DJGPP.
- Raw text -