Is there a way to access environmental variables from ExeOutput?
I’m talking about variables outlined here: http://www.rapidee.com/en/environment-variables
Ex. %TEMP%, %WINDIR%, %APPDATA%, etc.
For example, this works:
$cont = file_get_contents(‘C:\Windows\System32\drivers\gmreadme.txt’, FILE_USE_INCLUDE_PATH);
But this doesn’t work:
$cont = file_get_contents(’%WINDIR%\System32\drivers\gmreadme.txt’, FILE_USE_INCLUDE_PATH);
Please advise.
Thanks!