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)
|