It's 2024, how does ArcGIS do with spaces in file paths nowadays?

365
4
Jump to solution
02-27-2024 06:48 AM
Labels (2)
MKF62
by
Occasional Contributor III

I've been out of the ArcGIS arena for a while now and upon my return, I am wondering if file paths can now have spaces in them without causing problems for geoprocessing tools? A lot of our data is kept in Dropbox or OneDrive for our organization and enterprise installations of those tools always have spaces in the folder name, like "Dropbox (OrgName)" or "OneDrive - OrgName". Is ArcGIS Pro able to handle things like this now or do I need to move everything out of these folders?

1 Solution

Accepted Solutions
BarryNorthey
Occasional Contributor III

From esri Technical Support less than a year ago:

What are the recommendations for avoiding the use of spaces in file and folder names when working with ArcGIS products?

Last Published: March 27, 2023

Answer

In ArcGIS Pro, ArcMap, and other computer software in general, use of spaces in both file names and folders may lead to unexpected behavior as some software components and tools may have difficulty accessing such file paths. In ArcGIS Pro, this may result in some of the tools running with unexpected outcomes, or receiving errors.

Due to this, as a general good practice, it is recommended to avoid using spaces when naming files and folders, and instead substituting them with underscores, for example, "separate_words", or using a technique called camelCase, which uses uppercase letters to signify individual words in the names of both files and folders connected to ArcGIS Pro and other software, for example, "iPad".

Using other special characters is generally not recommended, since they may cause similar issues, and may not be understood by the ArcGIS software or the operating system it is running on. This applies to files and folders both local to the computer being used, or being accessed remotely such as on a network drive or another server.

View solution in original post

0 Kudos
4 Replies
BarryNorthey
Occasional Contributor III

From esri Technical Support less than a year ago:

What are the recommendations for avoiding the use of spaces in file and folder names when working with ArcGIS products?

Last Published: March 27, 2023

Answer

In ArcGIS Pro, ArcMap, and other computer software in general, use of spaces in both file names and folders may lead to unexpected behavior as some software components and tools may have difficulty accessing such file paths. In ArcGIS Pro, this may result in some of the tools running with unexpected outcomes, or receiving errors.

Due to this, as a general good practice, it is recommended to avoid using spaces when naming files and folders, and instead substituting them with underscores, for example, "separate_words", or using a technique called camelCase, which uses uppercase letters to signify individual words in the names of both files and folders connected to ArcGIS Pro and other software, for example, "iPad".

Using other special characters is generally not recommended, since they may cause similar issues, and may not be understood by the ArcGIS software or the operating system it is running on. This applies to files and folders both local to the computer being used, or being accessed remotely such as on a network drive or another server.

0 Kudos
BobBooth1
Esri Contributor

ArcGIS Pro does not currently support the use of cloud storage services, such as OneDrive and Google Drive.

https://support.esri.com/en-us/knowledge-base/arcgis-pro-and-cloud-storage-services-000025605

 

Brian_Wilson
Occasional Contributor III

We ran into this a couple days ago with DEM rasters that are provided GRID format. I was able to use a few lines of Python rename all the directories to change the spaces into "_". In our case though it was data downloaded to a local drive so it was easy.

It's probably a 15 year old tool that gets called from Pro to convert GRIDs and no one has updated it. BTW the paths with spaces worked fine in GDAL tools and QGIS.

 

Bud
by
Notable Contributor

Somewhat related:

BUG-000165217 - When a relate exists between a table and a query layer with a composite key joined to another table, related records are not displayed if the query layer name contains a space.

Esri Case 03543479 - Relate from table to table joined to query layer

Relate from table to table joined to query layer