delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/12/18/12:54:11

From: eplmst AT lu DOT erisoft DOT se (Martin Stromberg)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: No include path error was solved
Date: 18 Dec 1999 16:34:56 GMT
Organization: Ericsson Erisoft AB, Sweden
Lines: 29
Message-ID: <83gd3g$g5s$1@antares.lu.erisoft.se>
References: <000601bf48b9$e8136cc0$1c08bfc8 AT oemcomputer>
NNTP-Posting-Host: spica-144.lu.erisoft.se
X-Newsreader: TIN [version 1.2 PL2]
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

=?iso-8859-1?Q?Jos=E9_R._Moraes?= (jrmoraes-sp AT uol DOT com DOT br) wrote:
: path=c:\djgpp\bin;
: djgpp=c:\djgpp\djgpp.env

: But the the caracters do exist in Autoexec.bat where I typed:
: set PATH=C:\DJGPP\BIN;%PATH%;
: set DJGPP=C:\DJGPP\DJGPP.ENV;

: Now there is another error. Ok, ok, I'll read FAQ again before submiting any
: question.

No, there's no error. The "%PATH%" part is expanded to what it was set
as before. (What's a little strange is that PATH isn't set to
something before, such as "C:\WINDOZE\;C:\WINDOZE\PATH". But your
setting is sufficient if you don't expect to use DOZE commands.)

For an experiment (untested here), try this in a DOZE box:

set MYVAR=ABC
echo %MYVAR%
set MYVAR=DEF%MYVAR%
echo %MYVAR%
set MYVAR=%MYVAR%GHI
echo %MYVAR%


U2, Boy,

							MartinS

- Raw text -


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