Help - Search - Members - Calendar
Full Version: %path% w/out the filename?
Hydrogenaudio Forums > Hosted Forums > foobar2000 > Support - (fb2k)
juglesh
hi, i cant find how to get the directory structure without the filename. i have a file with path:
C:\music\new\songone.mp3
i need
C:\music\new
in my copy command.

btw, i've seen there is some new tagz (like $tracknumber()) is there a new help file?

thanks for your time,
picmixer
CODE
$replace(%_path_raw%,%_filename_ext%,)


Should do the tick for what you want to achieve.
juglesh
ahhh wink.gif just about, actually i just need_path
CODE
$replace(%_path%,%_filename_ext%,)

the path_raw gives me file://C:\_music\new\

but, yeah, thanks, that did the
QUOTE
tick

shifty.gif <G>
kode54
If you want it without the file:// (or http://, or whatever) use %_path% instead.
kalmark
juglesh, a while ago I made some copy command script and posted it here. Maybe try a forum search for "copy command AND rar" if possible (maybe "rar" is too short). It was a script to copy and extract files from archives.

That script handled the directories I think, give it a try.

Have fun with it if you find it wink.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.