Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!caip!lll-crg!lll-lcc!pyramid!voder!kontron!cramer From: cramer@kontron.UUCP (Clayton Cramer) Newsgroups: net.micro.pc Subject: Re: simple enviorment question Message-ID: <896@kontron.UUCP> Date: Wed, 9-Jul-86 12:38:41 EDT Article-I.D.: kontron.896 Posted: Wed Jul 9 12:38:41 1986 Date-Received: Thu, 10-Jul-86 05:10:31 EDT References: <483@ur-tut.UUCP> Distribution: net Organization: Kontron Electronics, Mt. View, CA Lines: 11 > 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 From Microsoft C 3.0, you use the getenv () call to the value of an environment variable. From PC-DOS, you type "set" and it shows you all the environment variables. (This IS in the PC-DOS manual.) Clayton E. Cramer