Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!sri-unix!sri-spam!ames!fxgrp!ljz From: ljz@fxgrp.UUCP (Lloyd Zusman) Newsgroups: comp.sys.ibm.pc Subject: Re: Dos Enviroment Space Message-ID: <115@fxgrp.UUCP> Date: Sun, 11-Oct-87 16:21:50 EDT Article-I.D.: fxgrp.115 Posted: Sun Oct 11 16:21:50 1987 Date-Received: Mon, 12-Oct-87 23:50:34 EDT References: <15156@watmath.waterloo.edu> Reply-To: ljz@fxgrp.UUCP (Lloyd Zusman) Distribution: na Organization: FX Development Group, Inc., Mountain View, CA Lines: 15 In article <15156@watmath.waterloo.edu> npross@watmath.waterloo.edu (N.P.Ross) writes: >Could someone out there please tell me how I can find the REAL enviroment >space, not the copy I get when I start my program ... Unfortunately, this cannot be done, as the location of a parent processes's PSP (and therefore its environment) is not available to a child. This also applies to the "REAL" environment in the DOS command processor. Every hack I've seen to locate this environment is DOS-version-dependent. I'm almost 100% positive about this, but I'd sure be happy to find out I'm mistaken! Lloyd Zusman ...!fxgrp!ames!ljz