Getting real file path in flat view

Hi,

I have a flat view, I select a number of files and run my button. In this button I need to CD to real path of every file selected (this is 'run once for each file selected' button).

Now the problem is that source path codes produce the path where flat view was enabled, and there is no modifier to strip file name from file path :confused: Is there a way out?

{filepath|..}

Thanks, somehow I haven't spotted that in the docs.

Documented under:

gpsoft.com.au/help/opus10/de ... enames.htm

...in the table describing the modifiers that can be used with the filename control codes. Lots of goodies there :slight_smile: