Create ArcInfo Workspace (Data Management)

License Level:BasicStandardAdvanced

Summary

Creates a workspace with an INFO subdirectory.

Usage

Syntax

CreateArcInfoWorkspace_management (out_folder_path, out_name)
ParameterExplanationData Type
out_folder_path

Location where the ArcInfo workspace will be created.

Folder
out_name

Name of the ArcInfo workspace to be created.

String

Code Sample

CreateArcInfoWorkspace example 1 (Python window)

The following Python Window script demonstrates how to use the CreateArcInfoWorkspace function in immediate mode.

import arcpy
from arcpy import env

arcpy.CreateArcInfoWorkspace_management("C:/output", "aiworkspace")
CreateArcInfoWorkspace example 2 (stand-alone Python script)

The following Python script demonstrates how to use the CreateArcInfoWorkspace function in a stand-alone script.

# Name: CreateArcInfoWorkspace_Example2.py
# Description: Create an ArcInfo workspace
# Author: ESRI

# Import system modules
import arcpy
from arcpy import env

# Set workspace
env.workspace = "C:/data"

# Set local variables
out_folder_path = "C:/output" 
out_name = "aiworkspace"

# Execute CreateArcInfoWorkspace
arcpy.CreateArcInfoWorkspace_management(out_folder_path, out_name)

Environments

Related Topics

Licensing Information

ArcGIS for Desktop Basic: No
ArcGIS for Desktop Standard: No
ArcGIS for Desktop Advanced: Yes
11/18/2013