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,
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()
Last edited by barrymavin; 2021-03-16 at 06:46.
Principal developer of Lianja, Recital and other products
Follow me on:
Twitter: http://twitter.com/lianjaInc
Facebook: http://www.facebook.com/LianjaInc
LinkedIn: http://www.linkedin.com/in/barrymavin
Awesome as always!
Thanks Barry!
Bookmarks