Parse Path (ModelBuilder)

License Level:BasicStandardAdvanced

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

ArcGIS for Desktop Basic: Yes
ArcGIS for Desktop Standard: Yes
ArcGIS for Desktop Advanced: Yes
6/18/2012