Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!apple!agate!usenet.ins.cwru.edu!ysub!psuvm!cunyvm!byuvm!asuacad!aurps From: AURPS@ASUACAD.BITNET Newsgroups: comp.lang.c Subject: DOS Environment Variables Message-ID: <91125.051531AURPS@ASUACAD.BITNET> Date: 5 May 91 12:15:31 GMT Organization: Arizona State University Lines: 8 Does anyone know how to permanently change a DOS environment variable from within an executing program? PUTENV() changes/creates a variable but it is only in effect while the program is running. As soon as I go back to DOS, the environment is restored to its original variables. I'm using Turbo C. Thanks for any help, Rick Schatzman