In ArcGIS, what should I do if I get the error message, "The Working Directory location can not have a space in the path name. Please specify a new location."?
When you use the Spatial Analyst extension in ArcGIS, some raster analysis tools will generate temporary files before providing a final output. By default in Windows XP, the working directory for Spatial Analyst contains a space, for example: C:\Documents and Settings\username\Local Settings\Temp\
Spaces in the names of directories can cause the following error message in ArcGIS:
The Working Directory location can not have a space in the path name. Please specify a new location.
To correct this error, UITS recommends the following changes:
- In ArcMap, open the Spatial Analyst toolbar by clicking
Viewand selectingToolbars, thenSpatial Analyst.
- On the
Spatial Analysttoolbar, click theSpatial Analystdrop-down menu and selectOptions.Note: If
Optionsis not selectable (grayed out), make sure the Spatial Analyst extension under theToolsmenu is turned on. - In the
Spatial Analyst Optionswindow, select theGeneraltab.
- Next to "Working directory:", enter
C:\temp\or some other directory that does not contain spaces. All users (including those in the Student Technology Centers) should have write access to this directory. Using this directory will allow ArcGIS to create the temporary files needed for some Spatial Analyst operations.
Last modified on January 20, 2012.







