Does / need escaping?


I am using $set(title,$replace(%title%,/,+)) in a renaming script, but it doesn’t work - I still get the underscore Picard uses to replace disallowed characters in a Windows filename. Does / need escaping? What is the escape character in Picard? Escaping with a backslash doesn’t seem to work. Thanks.


/ is special in file naming scripts, because it does create folders. Therefore it needs to be replaced in variables before they are put into the renaming script. You can’t replace it in the renaming script, you have to do so in the scripting options.

I would recommend you add this to your script:


Then in your renaming script you use %_title%

Picard: Is it possible to script around "_dirname"?

Thanks for the explanation. Makes perfect sense.