Use of Brackets in directory name

Hi,

I'm experimenting with custom actions. I want to rename the directory to:

%artist% - %album% (%year%)

or if the CATALOG # is known, to:

[%catalog #%] %artist% - %album% (%year%)

I use the function below:

$if($grtr($len(%catalog #%),1),E:_MUSIC!DONE\%publisher%[%catalog #%] %artist% - %album% (%year%),E:_MUSIC!DONE\%publisher%\%artist% - %album% (%year%))

Somehow the brackets [ ] are not interpreted. Is there a workaround?

Ok my bad. I just found the answer in another topic: Rename folders and add a tag suffix