Newsgroups: comp.windows.ms.programmer
Path: funic!news.funet.fi!sunic!psinntp!psinntp!rpi!usenet.coe.montana.edu!caen!spool.mu.edu!umn.edu!csus.edu!netcom.com!messina
From: messina@netcom.com (Tony Porczyk)
Subject: Re: How do I set env var from windows?
Message-ID: <1992Dec17.181651.27446@netcom.com>
Organization: Messina Software
References: <1992Dec14.215635.4126@e2big.mko.dec.com> <1992Dec17.121826.15802@uk03.bull.co.uk>
Date: Thu, 17 Dec 1992 18:16:51 GMT
Lines: 11

keithb@hemel.bull.co.uk (Keith Bedford) writes:
>guros@soju.enet.dec.com () writes:

>>Does anyone know of a routine to set an Environmental variable in the MS-DOS master Environmental variable table from a MS-Windows program?
>
>I don't think you can, windows programs get the DOS environment as it was when
>Windows loaded. The 'standard' putenv is supplied but has no effect. But try
>it, I might be wrong.

putenv has nothing to do with the master environment.

