Show Navigation | Hide Navigation
You are here:
Geoprocessing tool reference > Environment Settings > General settings

Current workspace

Release 9.3
Last modified December 17, 2008
E-mail This Topic Printable Version Give Us Feedback

Print all topics in : "General settings"


Related Topics

Specifies the workspace for the current session. The location from which inputs are taken and outputs are placed when running tools.


Usage tips




Command line syntax

An overview of the command line window

Workspace <workspace or feature dataset>


Parameters Explanation Data type
<workspace or feature dataset> The location from which inputs are taken and outputs are placed when running tools Folder | Workspace

Data types for geoprocessing tool parameters

Command line example



workspace d:\myWorkspace
	OR
workspace d:\myWorkspace.mdb



Scripting syntax

An overview of scripting in geoprocessing

Workspace (workspace or feature dataset)


Parameters Explanation Data type
workspace or feature dataset (Required) The location from which inputs are taken and outputs are placed when running tools Folder | Workspace

Data types for geoprocessing tool parameters

Script example



import arcgisscripting
gp = arcgisscripting.create()

gp.workspace = "h:/workspace"


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