comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: permanent setenv?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: permanent setenv? [message #50900] Wed, 25 October 2006 03:25 Go to previous message
Jo Klein is currently offline  Jo Klein
Messages: 54
Registered: January 2006
Member
> Forget the environment, not portable anyway. Write your info into a
> simple text file, and read that. On Unix a .myapprc file in the users
> home will do, for Windows you have to do something else. Leave the
> environment to the user, do not mess with it.
You can use that approach on Windows, too. You have to test if you're
running on Windows, though. To get the user's home directory, you can
getenv('USERPROFILE') and use that instead of ~.
Cheers,
Jo
[Message index]
 
Read Message
Read Message
Previous Topic: permanent setenv?
Next Topic: Visibility / viewshed algorithm ?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 05:17:05 PDT 2025

Total time taken to generate the page: 0.40066 seconds