In ArcMap, it is possible to configure the temp working directory through a system environment variable ARCTMPDIR.
http://desktop.arcgis.com/en/arcmap/latest/tools/supplement/temporary-files-created-by-geoprocessing-tools.htm
Is there a similar capability for configuring this windows default temp location for ArcGIS Pro? Ideally, we wish to set this at an application level to override the windows settings.
The following enhancement is marked as "In Product Plan", so it is likely that they will allow configuration of the entire "working directory" (currently Documents/ArcGIS) in the future:
#ENH-000105809 [Enhancement] User wants to change the location manually when unpacking the package in ArcGIS Pro.
If you have support, please add your organization to the Enhancement request and include a note about the Temp Folder. I did include in my submission the information about the System Environment Variable and the Registry Setting that could be changed in ArcMap.
As far as I know this is not possible, as I haven’t seen anything in the help about this.
However, you can set Windows environment variables local to the pro process tree by launching Pro with a .bat script that sets Windows environment settings before launching Pro with start.
@echo off set TEMP=C:\TEMP\PROTEMP if not exist %TEMP% mkdir %TEMP% start /b (pro exe) <SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.