操作方法

操作方法:为新地图文档设置默认主目录文件夹和地理数据库位置

Last Published: July 20, 2023

摘要

Note:
This article pertains to ArcGIS version 10.0. Later versions of ArcGIS may contain different functionality, as well as different names and locations for menus, commands and geoprocessing tools.

Instructions provided describe how to create and update a registry string value used to override the default location of the Home folder for new documents. This process involves editing the system registry.

At 10.0 Service Pack 5, a new registry value can be used to set the default Home folder for new untitled documents. This new Home folder is used on the next restart of the application. This directory is also the location where the default geodatabase is created for new documents.

过程

Alternatively, a sample toolbox is available on arcgis.com containing a single script tool. This tool achieves the same result as the procedure described below.

Warning:   
The instructions below include making changes to essential parts of your operating system. It is recommended that you backup your operating system and files, including the registry, before proceeding. Consult a qualified computer systems professional, if necessary.

Esri cannot guarantee results from incorrect modifications while following these instructions. Therefore, use caution and proceed at your own risk.
  1. Go to Start > Run.
  2. In the Run window, type regedit.
  3. In the Registry Editor window, navigate to HKEY_CURRENT_USER > Software > ESRI > Desktop 10 > ArcCatalog.
  4. Select Edit > New > Key and name it DefaultHomeFolder.
  5. Right-click the new DefaultHomeFolder key, select New > String Value, and name it Location.
  6. Double-click the new Location string value and change its value to the path of the desired Home folder.
[O-Image]

文章 ID: 000011581

接收通知并查找新问题或常见问题的解决方案

从我们全新的 AI 聊天机器人中获得简明答案和视频解决方案。

下载 Esri 支持应用程序

相关信息

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项