Here's my problem. In mp3 files and other audio formats, when metadata is inserted, and you open Windows Explorer and set the view to Details, you can see the information for each track. I'm using Windows 10.

Now I was wondering if the same thing is possible for playlists, like .m3u files? Is it possible to set some sort of custom column in Explorer, e.g. "Total Tracks" and that it shows the total amount of songs in the playlist?

enter image description here

Can it be done? With a setting in Windows Registry? Or do I need to install some sort of add-on? If not, if I choose to use some other explorer like FreeCommander, is there a possibility to get it to work here?

I used to put all my playlists in Winamp, Media Library. Here I can see how many tracks are in a playlist. But the problem I find with this method is, that the playlist filenames in Winamp do not correspond with the real filenames found on my drive, which annoys me. Also, when using this method I'm stuck to Winamp, which I rather don't want to do.

Can anyone help me out? :) Thank you!


.m3u files are plain text and the Details tab of an m3u file reveals only the basic filesystem properties, so a column htat displayed with the files would requre serious coding to create a Column Handler.

But, if you could use shortcuts (.lnk files) to your playlists, the Track Count could be added as the shortcut's Comment property -- and that can be displayed as a column in Explorer`:

enter image description here

Don't know if you're comfortable with code, but shortcuts for existing .m3u files could be creaeted with a bit of PowerShell

$M3USourcePath     = 'c:\Music'
$M3uShortcutFolder = 'c:\PlaylistShortcuts'

$wshShell = New-Object -Com wscript.shell
gci $M3USourcePath *.m3u -s | %{                                   ### -s makes search recursive
    $olnk             = $wshShell.CreateShortcut("$M3uShortcutFolder\$($_.BaseName).lnk")
    $olnk.TargetPath  = $_.FullName
    $olnk.Description = 'Track Count: {0}' -f ( (gc $_.FullName) -match '^#EXTINF' ).Count

and similar code could be used to create a context menu command for the .m3u type that would create a corresponding shortcut for the selected file --- that could be used as your create new playlists.

  • Okay, I will try it out. Not sure if shortcuts will be the thing I'm looking for. Still, thank you for your suggestion.
    – Lifesaver
    Apr 5 at 21:16
  • Another scripting work-around might be to calculate the track count and then rename the file so the count is included in the filename. I know both these options pale in comparison to the usefullness of a functioning file property, but I don't you're going to find that. Apr 5 at 21:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.