Hi,
I am porting my windows app to the MAC and LINUX.
I save some files to a local temp directory. I want to obviously change that for Mac/linux.
How can I tell which OS the user is running from ?
Thanks
Herb
Printable View
Hi,
I am porting my windows app to the MAC and LINUX.
I save some files to a local temp directory. I want to obviously change that for Mac/linux.
How can I tell which OS the user is running from ?
Thanks
Herb
Hi Herb
Use the os() function.
https://www.lianja.com/doc/index.php/OS()
see tmpdir() also.
https://www.lianja.com/doc/index.php/TMPDIR()
Awesome as always!
Thanks Barry!