🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #7966

How do I change an enviroment var?

#7966
From: Grant Slender
Date: Fri, 08 Aug 1997 00:00
7 lines
1373 bytes
I need to get the list of current environment variables in a Dos based C
program....I can do that using the "main( " argument lists....

But how do I write a changed value back???

Thanks for any tips
Technical Details
Message-ID: <33EA8504.49DA453@comtech.com.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10f6aa,b241f3541a61f304
X-Google-Attributes: gid10f6aa,public
X-Google-Thread: 10b565,b241f3541a61f304
X-Google-Attributes: gid10b565,public
X-Google-Thread: 103f30,b241f3541a61f304
X-Google-Attributes: gid103f30,public
X-Google-Thread: 102bfa,b241f3541a61f304
X-Google-Attributes: gid102bfa,public
X-Google-Thread: fc546,b241f3541a61f304
X-Google-Attributes: gidfc546,public
X-Google-Thread: 104805,b241f3541a61f304
X-Google-Attributes: gid104805,public
X-Google-Thread: f75c9,b241f3541a61f304
X-Google-Attributes: gidf75c9,public
From: Grant Slender <grants@comtech.com.au>
Subject: How do I change an enviroment var?
Date: 1997/08/08
Message-ID: <33EA8504.49DA453@comtech.com.au>
X-Deja-AN: 263963892
X-Priority: 3 (Normal)
Organization: Customer of Access One Pty Ltd, Melbourne, Australia
Newsgroups: comp.os.msdos.programmer,unix-pc.general,it.comp.dos,it.comp.dos,abg.ms-dos,alt.msdos.batch,alt.msdos.programmer,backbone.fragen.dos,comp.msdos.programmer,comp.os.msdos,comp.os.msdos.programmer,comp.unix.dos-under-unix,de.comp.os.msdos,fr.comp.os.msdos,ger.pc.dos,relcom.msdos