PDA

View Full Version : Environmental variables with ZScript



romm
01-04-10, 04:59 AM
Hi all, is there a cross platform way of retrieving environmental variables with ZScript ?. specifically TMPDIR

marcus_civis
01-04-10, 07:05 AM
Not directly. You'd need to write a DLL (e.g. using getenv() in C++), and call that from the zscript.

HTH,

romm
01-04-10, 12:10 PM
what would the windose be for
unix
[ShellExecute,"env"]
?