Path: utzoo!attcan!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!apple!uokmax!occrsh!att!cbnews!cbema!las From: cbema!las@cbnews.ATT.COM (cbema!las) Newsgroups: comp.sys.ibm.pc Subject: Re: MS-DOS Environment Variables Message-ID: <11630@cbnews.ATT.COM> Date: 21 Nov 89 18:38:22 GMT References: <5679@wpi.wpi.edu> Reply-To: cbema!las@cbnews.ATT.COM (Larry A. Shurr,20650,cb,9a110,6148605851) Organization: AT&T Bell Laboratories, Columbus, OH (actually an AGS consultant) Lines: 16 In article <5679@wpi.wpi.edu> mhampson@wpi.wpi.edu (Mark A. Hampson) writes: >I am wondering if anyone has tripped across a way to set an MS-DOS >environment variable from within a program that is still in the >environment table when the program terminates. Watch for my forthcoming post of my "bios-only" version of STEVIE in comp.binaries.ibm.pc (assuming Rahul accepts it). In it will be included a SETENV program (with Turbo C source) which can do this. SETENV is based on an earlier posting to cbip by Alan J. Myrvold. regards, Larry -- Signed: Larry A. Shurr (cbema!las@att.ATT.COM or att!cbema!las) Clever signature, Wonderful wit, Outdo the others, Be a big hit! - Burma Shave (With apologies to the real thing. The above represents my views only.) (Please note my mailing address. Mail sent directly to cbnews doesn't make it.)