ArcGIS Pro 2.9 API Reference Guide
CustomHomeFolder Property

ArcGIS.Desktop.Core Namespace > GeneralOptions Class : CustomHomeFolder Property
Gets and sets the path to a custom default home folder location to use with new projects
Syntax
public string CustomHomeFolder {get; set;}
Public Property CustomHomeFolder As String
Remarks
Attempting to set CustomHomeFolder to an invalid folder will be ignored.
Set HomeFolderOption to OptionSetting.UseCustom to use the custom folder location for newly created projects.
Note: attempting to set HomeFolderOption to UseCustom before CustomHomeFolder contains a valid path will be ignored.
Conversely, attempting to set the CustomHomeFolder back to null or empty string will also be ignored unless HomeFolderOption is first set to UseDefault.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

GeneralOptions Class
GeneralOptions Members