Parse Path (ModelBuilder)

Summary

The Parse Path tool parses the input into its file, path, name, or extension. The output can be used as in-line variables in the output name of other tools.

Learn how Parse Path works in ModelBuilder

Usage

Syntax

ParsePath_mb (in_data_element, {parse_type})
ParameterExplanationData Type
in_data_element

Input values that you want to parse.

Any value
parse_type
(Optional)

Choose a parse type from File, Path, Name, or Extension. Given the input value of C:\ToolData\InputFC.shp:

  • FILEOutput will be the file. Example: InputFC.shp
  • PATHOutput will be the file path. Example: C:\ToolData
  • NAMEOutput will be the file name. Example: InputFC
  • EXTENSIONOutput will be the file extension. Example: shp
String

Environments

This tool does not use any geoprocessing environments

Related Topics

Licensing Information

ArcView: Yes
ArcEditor: Yes
ArcInfo: Yes

4/27/2011