OS Environment Variable?

 
Is there any way to pass a Win OS environment variable to an indicator or script?

For instance, is there any way I could get %PATH% read into an indicator as a string? This is obviously not what I ultimately want to do, but I am running an AutoIT script and would like to pass some information from this OS script to an indicator using an environmental variable.

It would be easier to do this than to pass information through a file.

Thanks,

Johnny
 
See "MQL4: Working with Files. An Example of Important Market Events Visualization" and try to read needed environment Variables from file.
Reason: