Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!casbah.acns.nwu.edu!ftpbox!motsrd!motcid!hamilton From: hamilton@motcid.UUCP (Danial Hamilton) Newsgroups: comp.lang.pascal Subject: DOS Environment Variables Message-ID: <4744@ash54.UUCP> Date: 17 Apr 91 16:09:29 GMT Distribution: comp Organization: Motorola Inc., Cellular Infrastructure Div., Arlington Heights, IL Lines: 6 My son programs using Turbo Pascal, and would like to pass a value from his Pascal program to another program via a DOS environment variable. Can he do this? Can someone tell him how? He knows how to set the errorlevel, and could accomplish his goal that way, but it is not as elegant of a solution as he would like. Any help out there?