X-Originating-Host: 63.23.175.23 Organization: http://www.remarq.com: The World's Usenet/Discussions Start Here Subject: Setting DOS environment variables Lines: 11 From: wriska Newsgroups: comp.os.msdos.djgpp Message-ID: <22e8c8ce.39f84b4f@usw-ex0105-040.remarq.com> Bytes: 480 X-Wren-Trace: ePve9vfuqeOorP367bD70u787rDw+q+tqKS6qqGhs+yhs+mp Date: Wed, 02 Feb 2000 16:52:41 -0800 NNTP-Posting-Host: 10.0.2.40 X-Complaints-To: wrenabuse AT remarq DOT com X-Trace: WReNphoon2 949538817 10.0.2.40 (Wed, 02 Feb 2000 16:46:57 PST) NNTP-Posting-Date: Wed, 02 Feb 2000 16:46:57 PST To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I am trying to set DOS environment variables from within a DJGPP C program, but I am not having much success. Would someone please be kind enough to post a snippet of code that could do this? I am looking for something to be flexible enough to allow for varying environment variable names as well as values. Thank you. * Sent from RemarQ http://www.remarq.com The Internet's Discussion Network * The fastest and easiest way to search and participate in Usenet - Free!