[net.micro.pc] How to change environment variables within a program?

peter@gumby.UUCP (Peter Wu) (02/01/86)

Is there a way to change the environment variables (e.g. PATH)
within a program and have it exported to the command shell?

In other words, is there a back pointer to the environment variables of
the parent process that the child can access?

				     peter