Show Navigation | Hide Navigation
You are here:
Geoprocessing tool reference > Data Management toolbox > Workspace toolset > Tools

Create File GDB (Data Management)

Release 9.2
Last modified November 29, 2010
E-mail This Topic Printable Version Give Us Feedback

Print all topics in : "Tools"


Related Topics

Creates a file geodatabase, stored as a series of folders in a file system.


Usage tips

Command line syntax
An overview of the Command Line window
CreateFileGDB_management <out_folder_path> <out_name>

Parameter Explanation Data Type
<out_folder_path>

The location where the new file geodatabase will be created.

Folder
<out_name>

The name of the file geodatabase to be created.

String
Data types for geoprocessing tool parameters


Command line example

CreateFileGDB c:\work housing_test.gdb

Scripting syntax
About getting started with writing geoprocessing scripts
CreateFileGDB_management (out_folder_path, out_name)

Parameter Explanation Data Type
out_folder_path (Required)

The location where the new file geodatabase will be created.

Folder
out_name (Required)

The name of the file geodatabase to be created.

String

Data types for geoprocessing tool parameters


Script example

import arcgisscripting
gp = arcgisscripting.create()

gp.workspace = "h:/workspace"
gp.toolbox = "management"
gp.CreateFileGDB("C:/work", "housing_test.gdb")

Please visit the Feedback page to comment or give suggestions on ArcGIS Desktop Help.
Copyright © Environmental Systems Research Institute, Inc.