AutoTag function is used to automatically fill in the fields of tag of edited file from the file name / path to the file. To call this function, press appropriate button in the File Information dialog or The Advanced Tag Editor:



In the format of the template you can use the following macros:
Using full path to file as data source
By default, AutoTag function uses filename without extension and path as a data source. To use the full path to the file as a data source you must specify "\" ("/" in Linux) character in the template.

In both cases, the file extension is not considered.
Using %fake% macro
As it was mentioned above, %fake% is used to pass text blocks of various length.
For example, suppose that we have two files with the path:

C:\Music\Artist1\Folder(1)\01. Title1.mp3 
C:\Music\Artist2\Folder(2)\11. Title2.mp3
In order not to construct individual template for each of them, use the %fake% macro.
As a result format string would look like this:

C:\Music\%artist%\%fake%\%track%. %titl?%
Note
If you use identical macros in format string, the macro will contain the latest assigned value.