Env variables readable by an application



I have an application that executes a user-defined script. The application sets certain environment variables that the script uses to determine which phase it is in.

I want to be able to set other env variables to set other conditions usable by the script.

Is there a way to do this? In other words, is there a way to set env variables that ANY user and ANY application can see?

Thanks in advance,
- Travis.


---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.

Relevant Pages

  • Re: [PHP] getting $_ENV variables
    ... Did you get that result when running the script from the CLI or via the ... All I want is to check the $_ENVwithin PHP scripts. ... there are even fewer $_ENV variables printed than the CLI ... Daniel P. Brown ...
    (php.general)
  • Help with KSH
    ... to source a generated file by a third party product. ... this script is to setup more env variables. ... When this script is run and MWJ_ROOT is not set, ... KSH: MWJ_ROOT: parameter not set ...
    (comp.unix.questions)
  • DOS/.CMD Environment Variables
    ... My problem is that I can't get access to these in the same process within the DOS/.cmd script, if I terminate the script after these are added and run it again then the DOS script can read the Env variables. ... Ideally I'd like to first call a .vbs file to download the file, process it and add the password info and then access these from the DOS scripts ie: ... ECHO My AUDIT PASSWORD Env Var=%ENV_AUDIT_PASS% ...
    (microsoft.public.inetsdk.programming.scripting.vbscript)
  • Re: Help with KSH
    ... this script is to setup more env variables. ... When this script is run and MWJ_ROOT is not set, ... KSH: MWJ_ROOT: parameter not set ... Though that will set MWJ_ROOT to an empty string if it was ...
    (comp.unix.questions)
  • Re: Oninit from cron leaves engine in permanent fast recovery
    ... Try creating a startup script, ... the scripts a source file to set all of your env variables. ... script I use to start informix. ...
    (comp.databases.informix)