Replace the / in tag when converting to filename

Hello, I ran into a bit of an issue, I am trying to rename few folders that have mp3’s. The tag contains / between the artist and featured artist, but when converting to filename, the / is removed. I want to rename the files (e.g. tag is Dj Snake/J Balvin - Noventa) in this format : Dj Snake & J Balvin -Noventa. Do you know what kind of string I can use? Thank you in advance.

Unfortunately, you do not tell us, which function you use and which format string you use to rename the files.

In general

Try instead of the plain %artist%:
$replace(%artist%,/, & )

I am using the function Tag - Filename with the string %artist% - %title%


... and? did you try my suggestion?

Thats because the Slash / is a non-valid character in the windows file system.
Like other characters * " / \ < > : | ? too.
So you should replace them all if you want to get valid new filenames.

$replace(x,y,z) supports multiple parameter pairs y and z.

@djned Please note that this replaces ALL slashes / in the ARTIST field with a & character.
If your artist would be called
B / I / R / T / H / D / A / Y
you get
B & I & R & T & H & D & A & Y

AC/DC becomes AC & DC

Yes, it worked, thank you!