SanDisk Professor
Posts: 578
Registered: ‎09-12-2015

Simple Batch File for Playlist of Genre Folders

Are you organizing folders (with subfolders) on your Clip Sport by Genre?

Then maybe try this idea and see if you can make it work for your needs.


1. Create a "Genre1" Folder inside the Music Folder.   The Genre1 Folder can have many other subfolders inside.

          (I am using "Genre1" as a simple example name here.)

2. Use Windows Notepad to create this 1-line textfile (as Genre.bat) inside the Genre1 Folder.

        dir /o:n /s /b *.mp3 *.wma *.wav> Genre.m3u

3. Use Windows File Explorer to double-click on the Genre.bat file.

        Then change the name of the new Genre.m3u file to the name of your Genre1 Folder (such as Disco.m3u).

4. Use Music play mode or Card play mode to select your new Playlist. (Folder mode does not use Playlists.)


If you decide to use this method for multiple Genre folder collections, make sure to change the name of the m3u files so it matches the name of each genre folder collection.

Posts: 5
Registered: ‎08-25-2016

Re: Simple Batch File for Playlist of Genre Folders

If I understand correctly, this line only gets mp3, wma and wav files. Shouldn't this also include *.m4a *.ogg and *.flac? Maybe even *.aa and *.aax for grouping books. 
Just pointing it out for others if they have a problem with not all files being collected.