how to get the temp directory on *NIX

Klaus Major klaus at major-k.de
Sat Jun 21 14:21:01 EDT 2003


Hi Sean,

> how to get the temp directory on *NIX platforms? under
> windows and mac i can use specialFolderPath("Temporary")..
> can i just use $TEMP ?

$TEMP doesn't work on OS X...

I would suggest to use "the tempname" and extract the folder :-)
Should work pretty crossplatform... ;-)

Hope that helps...

Have a nice weekend.


Regards

Klaus Major
klaus at major-k.de
www.major-k.de




More information about the use-livecode mailing list