delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/05/14/08:31:59

From: Waldemar Schultz <schultz AT ma DOT tum DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: getenv() question
Date: Mon, 14 May 2001 14:05:04 +0200
Organization: [posted via] Leibniz-Rechenzentrum, Muenchen (Germany)
Lines: 20
Message-ID: <3AFFC9F0.A428D3CB@ma.tum.de>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1010514142758 DOT 26350B AT is>
NNTP-Posting-Host: pcritter14.mathematik.tu-muenchen.de
Mime-Version: 1.0
X-Trace: wsc10.lrz-muenchen.de 989841904 10457 131.159.68.151 (14 May 2001 12:05:04 GMT)
X-Complaints-To: news AT lrz-muenchen DOT de
NNTP-Posting-Date: 14 May 2001 12:05:04 GMT
X-Mailer: Mozilla 4.75 [de] (Win98; U)
X-Accept-Language: de,en-US
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Eli Zaretskii schrieb:
> 
> Sorry, I still don't follow ;-)

After srarting a DOS session there normally are set some
environment variables like PATH COMMAND etc.
now I want to start an application, that is known to set some
by itself eg. 290 bytes via putenv() or in a batch wrapper.
What I was thinking of, is to determine the free space in the
DOS environment before actually launching the application,
to be able to tell the user he should increase 
the 'shell= ... /E:xxx' setting in his config.sys in case the
free space were less than the needed 290 bytes.

Thanks for spending your time for my problems.

-- 
 Gruss Waldemar Schultz.         schultz AT ma DOT tum DOT de
 Technische Universität München, Zentrum Mathematik M1, D 80290 München
 Tel: +49 (0)89 2892 8226        FAX: +49 (0)89 2892 8228

- Raw text -


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