Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!super.upenn.edu!dsl.cis.upenn.edu!catone From: catone@dsl.cis.upenn.edu (Tony Catone) Newsgroups: comp.sys.ibm.pc Subject: Re: Cannot putenv() in MSC 4.0 Message-ID: <1243@super.upenn.edu.upenn.edu> Date: Thu, 28-May-87 13:59:41 EDT Article-I.D.: super.1243 Posted: Thu May 28 13:59:41 1987 Date-Received: Sat, 30-May-87 07:49:00 EDT References: <2301@tekgvs.TEK.COM> <1092@rocksvax.UUCP> Sender: root@super.upenn.edu.upenn.edu Reply-To: catone@dsl.cis.upenn.edu.UUCP (Tony Catone) Distribution: na Organization: University of Pennsylvania Lines: 16 Keywords: pushd,popd,putenv,Turbo Pascal,Microsoft C V4.0 In article <1092@rocksvax.UUCP> martyl@rocksvax.UUCP (Marty Leisner) writes: >So the child program would have to take extraordinary actions to set the >parents environment (I think there's something about interrupt 2e which >allows programs to send commands to command.com -- if this is so, doing a >SET var=name would set the parent environment (???)). There was much discussion about achieving just this effect within the last month, in either PC-Mag or Info-PC Digest, or possibly both. The master environment can be modified, once it is located through the use of undocumented DOS function calls. I'm leaving for 2 weeks vacation (yea!) tomorrow, but if enough people email me, I'll dig the information up and post it upon my return. - Tony catone@dsl.cis.upenn.edu catone@wharton.upenn.edu