TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: KEVIN CAMPBELL
from: ALEXANDRE OSTANINE
date: 1997-04-04 07:47:00
subject: MS-DOS Env.

Kevin Campbell wrote in a message to all:
 KC> Does anyone know how to inset information into the
 KC> environment block (eg: SET Bob=C:\Bob\), inside a C++
 KC> program in a way that the information will remain, even when
 KC> the program exits, or, the program quits using dos_keep() (a
 KC> TSR). 
 KC> Thanks - Kev
 KC> --- FMail/386 1.02
 KC>  
 
 
   May by it's not a good way to do it, but try to create a BAT file
   end run it from you program and then delete it. the 'set' will
   remain same after your program terminates.
   Alexandre.
---
---------------
KC> * Origin: Mail shipped from Deimos Spaceport (2:259/17)
* Origin: Just another Selwerd point (2:282/608.74)

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™.