Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uunet!mcsun!sunic!tut!ra!uwasa.fi!ts From: ts@uwasa.fi (Timo Salmi LASK) Newsgroups: comp.sys.ibm.pc Subject: Re: MS-DOS Environment Variables Message-ID: <1989Nov20.212803.5326@uwasa.fi> Date: 20 Nov 89 21:28:03 GMT References: <5679@wpi.wpi.edu> Reply-To: ts@chyde.uwasa.fi (Timo Salmi LASK) Organization: University of Vaasa, Finland Lines: 24 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. > >I am trying to store the current directory path name in an environment >variable. I am willing to approach this two ways: I have solved this very problem in my non-resident pushdir / popdir batches. You can obtain them by anonymous ftp from our site. They are part of my /pc/ts/tsbat12.arc package. >If anyone has any great ideas on this could you please EMAIL them to me >as I do not read this newsgroup regularly. Sorry, no. I prefer to post, since there always may be others who might be interested in the same problem. (No offence meant, but I have often wondered about these offhand postings, where the person doing the posting is not interested enough to follow things trough.) ................................................................... Prof. Timo Salmi (Site 128.214.12.3) School of Business Studies, University of Vaasa, SF-65101, Finland Internet: ts@chyde.uwasa.fi Funet: vakk::salmi Bitnet: salmi@finfun