TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: KEVIN CAMPBELL
from: TIKA CARR
date: 1997-03-21 10:56:00
subject: MS-DOS Env.

Kevin Campbell was saying to All on 03-16-97  10:44:
 KC> Does anyone know how to inset information into the environment block
 KC> (eg: SET Bob=C:\Bob\), inside a C++ program in a way that the
 KC> information will remain, even when the program exits, or, the program
 KC> quits using dos_keep() (a TSR).
I suggest you read SNIPPETS ENVIRON.TXT file. That will give you more
info. Its kind of impossible to do, unless you're willing to back up
and rewrite the user's AUTOEXEC.BAT file to reflect the change and
have the user reboot. That's about the only way I can see it would
work.
Tika
... Keyboard Error!  Press  to Continue.  (Lovely how AMI does things)
___ Blue Wave/DOS v2.30
--- QScan/PCB v1.17b / 01-0406
---------------
* Origin: Knight Moves - Rochester,NY 716-865-2106 (1:2613/313)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.