DOS Environment Variables

AURPS at ASUACAD.BITNET AURPS at ASUACAD.BITNET
Sun May 5 22:15:31 AEST 1991


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



More information about the Comp.lang.c mailing list