Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!ucsd!ucbvax!mtxinu!unisoft!bdt!doug From: doug@bdt.UUCP (Doug Asherman) Newsgroups: comp.os.msdos.programmer Subject: master environment Keywords: MS-DOS environment Message-ID: <4642@bdt.UUCP> Date: 30 Aug 90 04:55:33 GMT Distribution: na Organization: Beckemeyer Development Tools Lines: 14 I'm looking for some code/information on how to find the MS-DOS master environment from within a program. I'm currently doing it by searching for the string "COMSPEC" in memory, but there must be a better way. If code is submitted, I'd like it to be public domain. Thanks in advance. Doug Asherman -- .signature: permission denied