Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!cbatt!cbosgd!ihnp4!inuxc!pur-ee!ecn-pc!sandersr From: sandersr@ecn-pc.UUCP (Robert C Sanders) Newsgroups: net.micro.pc Subject: Re: simple enviorment question Message-ID: <552@ecn-pc.UUCP> Date: Thu, 10-Jul-86 00:40:09 EDT Article-I.D.: ecn-pc.552 Posted: Thu Jul 10 00:40:09 1986 Date-Received: Fri, 11-Jul-86 07:42:00 EDT References: <483@ur-tut.UUCP> Reply-To: sandersr@ecn-pc.UUCP (Robert C Sanders) Distribution: net Organization: Electrical Engineering Department , Purdue University Lines: 17 In article <483@ur-tut.UUCP> aptr@ur-tut.UUCP writes: >I have a very simple question to ask about the enviorment in MS/PC-DOS. >How do you check the value of a parameter in the envoirment? And, is there >anyway to look at the enviorment as a whole? (i.e. prenv in UN*X) > >Thanks I don't know about individual variables, outside of writing a simple assembly or C program to fetch it using a DOS 21h interupt function. But you can always see all of your environment variables at any DOS prompt by using the command "set" without any arguments. -- Continuing Engineering Education Telecommunications Purdue University ...!ihnp4!pur-ee!pc-ecn!sandersr Let's make like a BSD process, and go FORK-OFF !! -- bob (and "make" a few children while we're at it ...)