Some geoprocessing tools create system scratch files during processing. These scratch files are always prefixed with xx. You must have write permissions in the location the xx files will be created. You can control this location using system variables.
An attempt to create the xx files will be made in the following order:
- System environment variable ARCTMPDIR (You will have to add this variable)
- System Temp (TEMP, TMP, User Profile)
- Current Working Directory (CWD)
The first place the xx files can be created will be used. If for some reason the geoprocessing tool is unable to write to any of the above locations, an error will be generated, and the tool will fail. You will have to make sure one of the locations above can be written to by the geoprocessing tool.