Groovy hepcat Kevin Campbell jived with all on 16 Mar 97 05:44:00!
MS-DOS Env.'s a cool scene. Dig it!
KC> Does anyone know how to inset information into the environment block
You might try the putenv() function. It has the following format:
int putenv( const char *env_name );
For example:
const char *env1 = "SOME_ENV=BLAH!";
const char *env2 = "SOME_ENV=";
if(putenv(env1) == 0) /* puts SOME_ENV=BLAH! into environment */
printf("Sorry! Not enough environment space!");
putenv(env2); /* removes SOME_ENV environment variable */
Wolvaen
... WARNING! I Steal Taglines! (This one for example)
--- Blue Wave/RA v2.20
---------------
* Origin: The Gate, Melbourne Australia, +61-3-9809-5097 28.8k (3:633/159)
|