Help - Search - Members - Calendar
Full Version: Display path without filename
Hydrogenaudio Forums > Hosted Forums > foobar2000 > Support - (fb2k)
baerenwurm
How to display the path (e.g. C:\My Music\Drum & Bass\) without the filename?
Melomane
if all files is in c:\my music\

you can use 'c:\my music\'%_directoryname%
upNorth
This works:
CODE
$left(%_path%,$sub($len(%_path%),$len(%_filename_ext%)))

Or you could have a look at:
$directory(x,n)
if you want a specific number og levels.


edit: spelling
baerenwurm
Thanks a lot! biggrin.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.