[GIS] Setting “REAL” work/scratch workspace in ESRI/ERDAS etc

arcmaperdas-imaginegeoprocessinginstallation

I thought the issue was only in ARCGIS but it seems that ERDAS does the same thing. I have my C with 1.7TB and my D with 10TB and my scratch set to d:\scratch but still ERDAS (and ESRI) fills my profile with it's temp data…why? see the image below (in this example I have tried to set the temp space to c:\scratch)

In ARCGIS
I have tried C:\Program Files (x86)\ArcGIS\Desktop10.0\Utilities\AdvancedArcMapSettings.exe–> run as admin–>System Paths–>last option "Output Temp file path" and set to D:\scratch.

I have tried "solutions" from http://forums.arcgis.com/threads/3300-ArcGIS-10-Default-Geodatabase

How can we resolve this?enter image description here

Best Answer

I set the Windows %TEMP% variable to a different drive so all temp not just ESRI stuff is redirected.

winkey+pause >> Advanced >> Environment Variables.

From there slap [New] to override the user profile temp or [Edit] to change the system wide temp.

windows dialog for setting environment variables

I don't know if this is still true, but I've encountered some geoprocessing tools which would write to the ESRI installation directory(!) in some circumstances (c:\program files\arcgis\bin). Just something to keep an eye on.