Grab the UDT instance name and parent folder name

I find some solution by using {InstanceName} and {TagName} pre-define parameters.
{PathToParentFolder} is return folder path with \ as seperator which i need dot . instead

Does anyone know a solution to replace \ with . for {PathToParentFolder}?

Thanks.