Is there an unambiguous way to refer to the individual items in the path
Microsoft refers to these as components:
However, each file system, such as NTFS, CDFS, exFAT, UDFS, FAT, and FAT32, can have specific and differing rules about the formation of the individual components in the path to a directory or file.
And:
Use a backslash
\
to separate the components of a path. The backslash divides the file name from the path to it, and one directory name from another directory name in a path.
Source Naming Files, Paths, and Namespaces
So you would name them as Path Components.
A full File Path consists of the following components:
- A drive specification
- One or more directory components (delimited by
\
characters) - A file name component
- A file extension component (starting with the last
.
character in the full filename).