delorie.com/archives/browse.cgi | search |
From: | Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: passing variable to calling .bat file |
Date: | Fri, 19 Jul 2002 20:28:21 +0100 |
Lines: | 17 |
Message-ID: | <3D386855.428B7906@phekda.freeserve.co.uk> |
References: | <3d37ebcc$0$25810$91cee783 AT newsreader02 DOT highway DOT telekom DOT at> |
NNTP-Posting-Host: | modem-178.fluorine.dialup.pol.co.uk |
Mime-Version: | 1.0 |
X-Trace: | news6.svr.pol.co.uk 1027107300 29217 62.136.8.178 (19 Jul 2002 19:35:00 GMT) |
NNTP-Posting-Date: | 19 Jul 2002 19:35:00 GMT |
X-Complaints-To: | abuse AT theplanet DOT net |
X-Mailer: | Mozilla 4.77 [en] (X11; U; Linux 2.2.19 i586) |
X-Accept-Language: | de,fr |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Florian Sukup wrote: [snip] > I want to pass values from the C-program to variables in the calling script > such that I can work with them after I called this .exe. > > setenv() did not work at the test I did, I tried work arounds but no > success. [snip] setenv() cannot modify the environment of the parent program. You can only modify the environment of the current program and any subsequent child programs. Regards, -- Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |