Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Renaming files using parentheses () in filename (Read 2489 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Renaming files using parentheses () in filename

Dear all,
I'm trying to rename some songs using the powerful Foobar renaming system.
I have a problem with parentheses. I have some songs that have a main title and a subtitle ( have put it in the comment field).

I would like to rename files using this template:

[code]
%tracknumber% - %title% (%comment%)
[/code

But if I try to rename a song:

Title: There There
Comment : The Boney King Of Nowhere

i don't obtain my desired result that I expect:


09 - There There (The Boney King Of Nowhere).mp3

but:

09 - There there.mp3

I think this happens because () are special chars. How can I use this characters to rename my file?
I have 14 files to rename not only one file, I would like to make it with a single command, if possible :-)

Thanks

Renaming files using parentheses () in filename

Reply #1
%tracknumber% - %title% '('%comment%')'

And for a selection of tracks with and without comments:

%tracknumber% - %title%[ '('%comment%')']

Renaming files using parentheses () in filename

Reply #2
Thank you very much Frank, it is perfect :-D