www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/24/10:24:07

Date: Tue, 24 Aug 1999 14:01:57 +0200
From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Message-Id: <199908241201.OAA28959@acp3bf.physik.rwth-aachen.de>
To: revpsychology AT hotmail DOT com (overtkill)
Cc: djgpp AT delorie DOT com
Subject: Re: problem DJGPP environmental variable
Newsgroups: comp.os.msdos.djgpp
Organization: RWTH Aachen, III. physikalisches Institut B
X-Newsreader: TIN [version 1.2 PL2]
Reply-To: djgpp AT delorie DOT com

In article <7ps26e$7qig$1 AT newssvr04-int DOT news DOT prodigy DOT com> you wrote:
> Here are some files that may help.  I was emailed asking about them, so I
> will just paste the text into this message:

> ------ AUTOEXEC.BAT ------
[...]
> GOTO %CONFIG%

> :WIN95
> CLS
> ECHO Windows is now starting...
> C:\WINDOWS\WIN.COM
> GOTO COMMON

The two lines above are your culprit. 

As you wrote it, the lines setting 'DJGPP' and 'CLASSPATH' are
effectively *never* executed, because the call to 'win.com' comes
first. This call effectively never returns, so whatever comes behind
it, in autoexec.bat, is ignored. Remove the call to win.com, and...

[...]
> :COMMON
> SET CLASSPATH=C:\Program Files\HEAT\navbar;%CLASSPATH%
> SET DJGPP=C:\DJGPP\DJGPP.ENV

... at this point, insert this line:

if "%config%"=="WIN95" c:\windows\win.com

That should fix your problem.

--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019