Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!rutgers!deimos!uxc!tank!mimsy!haven!adm!xadmx!RDK%vm.temple.edu@cunyvm.cuny.edu From: RDK%vm.temple.edu@cunyvm.cuny.edu (Robert Keiser) Newsgroups: comp.lang.pascal Subject: Re: Re Getting environment strings Message-ID: <17786@adm.BRL.MIL> Date: 13 Dec 88 04:24:24 GMT Sender: news@adm.BRL.MIL Lines: 16 I think I managed to get a reply to the original poster but if not, he should be able to see this. In Turbo 5.0, there is a function that will give you an environment variable. The function is GETENV, you pass it the name of the variable you want. For the path variable, the call would look something like this: pathstring := GETENV('PATH'); If there is not a path define, a null string will be returned. Robert Keiser Temple University Computer Activities Bitnet : RDK@Templevm Internet : RDK@VM.TEMPLE.EDU US Mail : Temple University Philadelphia, PA 19122