delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/14/19:45:39

From: myknees AT aol DOT com (Myknees)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: peculiar win 95 behavior
Date: 15 Jan 1998 00:43:25 GMT
Lines: 40
Message-ID: <19980115004301.TAA07566@ladder02.news.aol.com>
NNTP-Posting-Host: ladder02.news.aol.com
References: <Pine DOT SUN DOT 3 DOT 91 DOT 980114132642 DOT 8730S-100000 AT is>
Organization: AOL http://www.aol.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In article <Pine DOT SUN DOT 3 DOT 91 DOT 980114132642 DOT 8730S-100000 AT is>, Eli Zaretskii
<eliz AT is DOT elta DOT co DOT il> writes:
On Tue, 13
>Jan 1998, Jude Dashiell wrote:

>> I have a batch file on my system that I use
>>to load all the
>> environment variables djgpp needs before I use any of its
>>programs.
>> Under windows 3.11 for workgroups and msdos 6.22 the file
>>worked
>> flawlessly.  However that same file upon first invocation under
>>
>>msdos 7.00 and windows 95 (running where windows was never started,
>> so only
>>dos loaded) returns bad command or file name the first time
>> it is run.
>>However running that same batch file a second time
>> produces no such error
>>and all is working after the second running
>> of djgpp.bat.

>Please post the
>batch file.  I don't believe anybody will be able to
>guess the reason
>otherwise.

Maybe not, but what fun to try!  

I bet that one of the lines in the batch file calls a program that is in a path
specified in a subsequent line, like this...

@echo off
ls
path=%path%;c:\djgpp\bin

...In that case, you could just make sure that you set the path before trying
to use things that are in the path.

--Ed (Myknees)

- Raw text -


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