Path: news.net.uni-c.dk!Morten.Grouleff.Mjolner.Informatics From: Morten Grouleff Newsgroups: comp.lang.beta Subject: Re: Manipulating the environment of the running BETA-program ? Date: 08 Jan 2002 10:21:40 +0100 Organization: Mjolner Informatics. Lines: 16 Sender: mg@hod.mjolner.dk Message-ID: References: NNTP-Posting-Host: bifrost.mjolner.dk Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.net.uni-c.dk 1010481700 22202 130.225.4.254 (8 Jan 2002 09:21:40 GMT) X-Complaints-To: usenet@news.net.uni-c.dk NNTP-Posting-Date: Tue, 8 Jan 2002 09:21:40 +0000 (UTC) User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.5 Xref: news.net.uni-c.dk comp.lang.beta:13090 jochenrollwagen@yahoo.com (Jochen Rollwagen) writes: > Is it possible to manipulate the (OS-dependent) environment (e.g. > setting environment variables) from a BETA program ? I've written a > program that's called inside a .BAT-file and need to get some > information back to the .BAT-file, right now i create a temporary file > which is somewhat awkward. It is not possible for a child to modify the environment variables of its parent. So you probably have to stick to your current use of a temporary file... Regards, -- Morten Grouleff, M.Sc. C.S., Software Developer, Mjølner Informatics A/S. Phone: +45 70274343 Direct: +45 89425815 Fax: +45 70274344