Mail Archives: djgpp/1998/01/14/19:45:39
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 -