1. getenv ??
- Posted by Bernie Ryan <bwryan at PCOM.NET> May 21, 1999
- 465 views
Rob which enviornment variable does getenv function return from. The current enviorment, the active enviornment, or the master enviornment ??
2. Re: getenv ??
- Posted by Robert Craig <rds at ATTCANADA.NET> May 22, 1999
- 484 views
Bernie Ryan writes: > Rob which enviornment variable does getenv function return > from. The current enviorment, the active enviornment, or the > master enviornment ?? I'm not really familiar with those terms. Why don't you run the following 1-line program as a test: test.ex: puts(1, getenv("XXX")) If you type: set xxx=999 ex test it will print 999, so it must be using the latest, up-to-date version of the environment. On Windows NT things are a bit more complicated. There are Windows environment variables that are not readable by DOS programs. Regards, Rob Craig Rapid Deployment Software http://members.aol.com/FilesEu/
3. Re: getenv ??
- Posted by Bernie Ryan <bwryan at PCOM.NET> May 22, 1999
- 464 views
Rob Thanks Bernie