delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/04/14:40:00

Date: Wed, 4 Feb 1998 16:30:55 +0100
From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Message-Id: <199802041530.QAA13392@acp3bf.physik.rwth-aachen.de>
To: rimfire AT shadetree DOT com (Dan)
Cc: djgpp AT delorie DOT com
Subject: Re: what am I doing wrong?
Newsgroups: comp.os.msdos.djgpp
Organization: RWTH Aachen, III. physikalisches Institut B

In article <01bd310e$16b36280$4ed870ce AT dd0064> you wrote:
[...]
> here is a copy of my autoexec.bat (maybe you guys can help me
> figure out what I did wrong, though I prob did something
> stupid.)

> @echo off
> path=c:\windows;c:\windows\command;c:\windows\system
  ^^^^^
Sure this works? I only recall 'path c:\windows;...' and 'set
path=c:\windows;...' to work.

> loadhigh doskey
> set blaster=a220 i5 d1 t4
> if exist c:\restore.bat c:\restore.bat
                          ^^^^^^^^^^^^^^ *This*, I believe, is your
real problem. You may not know, but .bat files don't automatically
execute recursively. If you want the rest of autoexec.bat to be
executed as well (after restore.bat has finished), you'll have to
replace that by 'call c:\restore.bat'.

> set path =c:\windows;c:\windows\command;c:windows\system
          ^ 
That space would pose a problem as well, but it doesn't matter, as
you already 
> set path=c:\djgpp\bin;%path%
> set djgpp=c:\djgpp\djgpp.env


You didn't cross-check the 'set' output, did you? I think it would
have shown you that DJGPP isn't defined, actually, as the part of
autoexec.bat that sets it is never executed at all.

--
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