🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #2446

Re: How do you get enviroment variables?

#2446
From: Antti Juustila
Date: Mon, 04 Jan 1993 10:02
60 lines
1635 bytes
In article <1993Jan3.194240.11140@exucom.com> Bob Willer, bobw@exucom.com
writes:
>How do you get the enviroment variables that are used by the system
>with the SET command ie. in the autoexec.bat file ?
>
>Bob Willer

I think it was getenv. Use putenv to change the environment variable. I
remember that there was some discussion somewhere, that the putenv does
not change the DOS environment, only the copy of it which WINDOWS uses.
I'm not sure about this, though.

Antti
?7



x
U
------------------------------------------------------------------------
Antti Juustila                            |  eMail: antti@rieska.oulu.fi
Dept. of Information Processing Science   |  Univ.fax:  +358-81-553 1890
University of Oulu                        |__Phone:_+358-81-553_1927____
Linnanmaa                                 |    This mail is printed on
SF-90570 Oulu, Finland, Europe____________|____100% recycled electrons__
u
Enter ~:
complex to include; merge terminated.
include; merge terminated.
B??'	/	C	?

8<ft

g
ik

j


















(?????FG(?

-:LaserWriter

(
Technical Details
Message-ID: <1993Jan4.100222.19046@ousrvr.oulu.fi>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!news.funet.fi!ousrvr.oulu.fi!nuntius
References: <1993Jan3.194240.11140@exucom.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!news.funet.fi!ousrvr.oulu.fi!nuntius
From: Antti Juustila <antti@rieska.oulu.fi>
Subject: Re: How do you get enviroment variables?
Message-ID: <1993Jan4.100222.19046@ousrvr.oulu.fi>
Sender: news@ousrvr.oulu.fi
Organization: Dept. of Information Processing Science, University of Oulu
     Finland
X-Useragent: Nuntius v1.1
References: <1993Jan3.194240.11140@exucom.com>
Date: Mon, 4 Jan 1993 10:02:22 GMT
Lines: 60