Popup in command

Is there a way to show a pop-up window with some info like a variable?
I saw this {filepath|....|noterm} and was wondering if it would do what I wanted.

So it would be like:
Msgbox "test = " {filepath|....|noterm}