delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/04/13/09:38:50

Message-Id: <m10X3JO-000S8XC@inti.gov.ar>
Comments: Authenticated sender is <salvador AT natacha DOT inti DOT gov DOT ar>
From: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT gov DOT ar>
Organization: INTI
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>, djgpp-workers AT delorie DOT com
Date: Tue, 13 Apr 1999 10:37:35 +0000
MIME-Version: 1.0
Subject: Re: LBInstDJ
References: <Pine DOT LNX DOT 3 DOT 93 DOT 990413114359 DOT 3378A-100000 AT acp3bf>
In-reply-to: <Pine.SUN.3.91.990413131957.12434B-100000@is>
X-mailer: Pegasus Mail for Windows (v2.54)
Reply-To: djgpp-workers AT delorie DOT com

Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote:

> Hmm, now that I think about this, maybe calling `system' to run 
> AUTOEXEC.BAT, and then examining the results in the environment *is*
> the way to deal with many of the complexities which were mentioned in
> this thread?  

No, my autoexec.bat files (I have more than 17 managed by a program) normally 
ends calling something like Norton Commander, this will be at least confusing 
for the user. Also: Some autoexec.bat files loads TSRs that won't check if 
they are already loaded. Also: Some autoexec.bat files initializes hardware, 
not a good idea to reset some settings, etc, etc. Running autoexec.bat isn't 
a simple thing.

I think is much more easy to interpret and simulate the autoexec.bat. After 
all the language is very silly. You'll need to find the size of the path and 
environment, but looking at the OS version and the config.sys you can get 
close, also you can do some tests.

SET 
------------------------------------ 0 --------------------------------
Visit my home page: http://welcome.to/SetSoft
or
http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org
ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(5411) 4759 0013

- Raw text -


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