Bug: Temporary (scratch) datasets are not removed during Spatial Analyst operations
** This issue is addressed in ArcGIS 9.0 Service Pack 2 (SP2) **
The Spatial Analyst extension does not currently remove temporary datasets created during processing operations. These temporary datasets may be created by running a function that takes feature data as input, such as the density, interpolation, and viewshed functions. Eventually, when looping through many iterations, the maximum number of files in a folder can be reached and the operation will fail.
With the fix available in ArcGIS 9.0 Service Pack 2, all temporary shapefiles created during Spatial Analyst operations will be automatically removed at the end of the operation.
Click on the link in Related Information below and download Service Pack 2, if necessary. **