GetPathComponents()

  GetPathComponents

Description

GetPathComponents() is used to extract a list of directory names in the path for the given file path.

Call Signature

mstring GetPathComponents ( string filename )

Return Value

mstring

The return value is a multiline string with one line per directory component. An empty list (f$len(list) = 0) will be returned if there are no directory components in the path.

Argument

string filename:

The name of the file from which the path components should be extracted.

© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.