Hi all,
I'm having some relatively large temporary files created on my primary hard drive during python scripting with arcpy. Their location appears to default to C:\%appdata%\Local\Temp. I need them to be stored in a different location. I came across a couple postings suggesting to set the ARCTMPDIR environment variable to a different directory, and I've done that, but it doesn't seem to help. The temp files are still created on the C drive.
Are there any other things I can try?
Thanks.
Solved! Go to Solution.
Thanks, Tim. Setting the scratch workspace to the temporary directory didn't help.
I additionally had to set the other two windows environment variables "TEMP" and "TMP" to the location of the temporary directory. The files go where expected now, and space will no longer be a constraint. Geoprocessing bliss!
Thanks, Tim. Setting the scratch workspace to the temporary directory didn't help.
I additionally had to set the other two windows environment variables "TEMP" and "TMP" to the location of the temporary directory. The files go where expected now, and space will no longer be a constraint. Geoprocessing bliss!