in reply to Setting Env Variable question
Unfortunately myvar will disapear when the program ends. (It will be there for programs you call using system within the same program.) If you want to change your environment you will either have to change autoexec.bat on win9X or by changing the environment under System in the Control Panel on winNT/2k.$ENV{myvar}="myvalue"; system("set");
--
flounder
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Setting Env Variable question
by blackadder (Hermit) on Jul 26, 2002 at 16:23 UTC |