How to Create a Virtual <Folder> tag
If you frequently access and play files from their folders, MB's Computer node in left navigator might not offer desirable functionality for navigating and quick-accessing different folders. Then you might want to use a virtual field starting with the folder name you'd like to populate.
If you have a folder structure starting with E:\Music\Adele,
Folder = $Replace(<Path>,$Left(<Path>,9),)
This would return "Adele\..." value for each track. So replace the number 9 with any number depending on your folder structure.
If you have different folder structure according to genre, etc., you can modify the formula above using $If syntax.
Now you can add this "Folder" virtual field to library explorer, track browser, or main panel for easier browsing. The difference between this and using the tag (in this case "Artist" tag) is that this directs to the corresponding folder instead of a group of tracks corresponding to the tag value.
How to Create a "real" Virtual <Folder> tagstating from your idea, i managed to create a virtual tag that give me the name of folder where my music file is located (wherever the file is, up to 8 levels)
That mean, If you have a music file located in E:\Music\Goodmusic\ToShare\Arstist -Album\Mytitle.mp3
this tag will give you "Arstist -Album"
For doing so i create 8 virtual tags and call the last one (I.e. Virtual9) :
Virtual2 = $If($Contains(<Chemin>,\),$Split(<Chemin>,\,1),<Chemin>)
Virtual3 = $If($Contains(<Chemin>,\),$Split(<Chemin>,\,2),<Chemin>)
Virtual4 = $If($Contains(<Chemin>,\),$Split(<Chemin>,\,3),<Chemin>)
Virtual5 = $If($Contains(<Chemin>,\),$Split(<Chemin>,\,4'),<Chemin>)
Virtual6 = $If($Contains(<Chemin>,\),$Split(<Chemin>,\,5),<Chemin>)
Virtual7 = $If($Contains(<Chemin>,\),$Split(<Chemin>,\,6),<Chemin>)
Virtual8 = $If($Contains(<Chemin>,\),$Split(<Chemin>,\,7),<Chemin>)
Virtual9 = $IsNull(<Virtual8>,$IsNull(<Virtual7>,$IsNull(<Virtual6>,$IsNull(<Virtual5>,$IsNull(<Virtual4>,$IsNull(<Virtual3>,<Virtual2>,<Virtual3>),<Virtual4>),<Virtual5>),<Virtual6>),<Virtual7>),<Virtual8>)
Now you can add this "Real Folder" virtual field to library explorer, track browser, or main panel for easier browsing..
PS: do not hesitate to comment this post is you find a better way to do it !