Hi,
I am running a do-file which creates various large temporary files. And because of that my laptop runs out of the memory. I have attached a hard drive to it. I don't know how to change the directory of temporary files to be saving them in the hard drive. Can you advise? I am working on a MAC. I have tried setenv command but it doesn't work- Stata cannot find it. Many thanks for your suggestions in advance!

Ciara