I'm syncing Windows Media Player playlists between computers. Therefore, my playlists need to use relative paths, or it will not work on the other computer and vice versa.


  • I'm using my own batch tool in order to create playlists from directories. I'm well aware of auto playlists, but they cannot be sorted. My batch tool works, but WMP changes all playlists to absolute paths eventually. I can observe this phenomenon since only recently.
  • I'm syncing using Mercurial. But that's irrelevant, it's just in case someone asks

The XML of a playlist

This is after I sorted the songs and saved it through WMP. However, paths are replaced with absolute paths (starting with D:) later. I can't really tell when this happens.

My destination computer doesn't have a D:\ so same paths is not an option.

<?wpl version="1.0"?>
        <meta name="Generator" content="Microsoft Windows Media Player -- 12.0.10586.162"/>
        <meta name="ItemCount" content="6"/>
        <title>Playlist Title</title>
            <media src="..\......\.....mp3"/>
  • Set your playlists to readonly? – Brad Jul 3 '16 at 18:17
  • Could be an approach, but then I won't be able to sort it manually, either. – bytecode77 Jul 3 '16 at 18:57

WMP also supports playlist of the .m3u type. Do you see the same behavior with that type?

You say that auto playlists cannot be sorted, but are you aware of the Sort By condition for auto playlists?

Edit: as a workaround to keep the paths same on both computers nevertheless, you could use NTFS junction points or directory symbolic links.

  • I tested m3u files and WMP also converts those paths to absolute ones within a couple of hours of using WMP. Also I think auto playlists don't support manual sorting. – bytecode77 Jul 3 '16 at 1:02
  • Oh, I thought that you were referring to automatic sorting rather than manual sorting. Auto playlists indeed don't support manual sorting. See the edit of my answer for a workaround. – Tim De Baets Jul 10 '16 at 19:51
  • I also tried auto playlists and WMP also tampers with the file, removing the path I have specified so no items are displayed. Why does WMP damage my playlists for no reason? – bytecode77 Jul 13 '16 at 18:42
  • So the workaround that I suggested isn't an option? Please provide some more details about this auto playlist tampering. Exactly which path does WMP remove? – Tim De Baets Jul 16 '16 at 21:05
  • I tried to figure out how to create a junction between D:\Music and C:\Users\....\Music, but it seems like the drive has to exist. Could you elaborate this solution a little more? – bytecode77 Jul 16 '16 at 21:37

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.