How to extract part of Path to Comment field?

It's the converter "Filename – Tag" in this case, see this post from the FAQ for details: