[squeak-dev] path for volatile files

K. K. Subramaniam subbukk at gmail.com
Wed May 28 13:34:05 UTC 2008


Hi,

How can I access a 'temporary directory' in Squeak?  When I run Squeak from 
USB flash memory, I don't want temporary files created in the (FileDirectory 
default) folder. I wanted a VM-unique volatile path where I can create 
temporary files. e.g.
	/tmp/squeakvm-$VMPID/  (Unix)
       C:\WINDOWS\TEMP  (Windows)

Do I hack FileDirectory to create a unique temp directory on startup and clean 
the cruft on quit. Is there a better way?

Thanks in advance,
Subbu



More information about the Squeak-dev mailing list