To be sure if you use the correct format string, you could try it first with the menu Convert Tag -> Filename. ("Filename" can include the path, not only the filename itself.)
There you see immediately - before you execute the command - what your format string would result in.
If you need some more help, please show us a screenshot from your selected details and how you would like the result.