Save this file as Filename.m3u, where Filename is the name you want to use for the file. When you double-click this file or open it in Windows Media Player, it plays the files in order from the top of the file to the bottom.
This information also applies to most third-party media player utilities, such as Winamp. For example, if Winamp is the default player for .mp3 files, Winamp starts when you double-click the file.
You can use the dir command to port the contents of a folder to a file that can be used as a playlist. To do so:
Click Start, point to Programs, and then click MS-DOS Prompt.
Change directories to the folder that contains the media files for which you want to create a playlist.
Type dir /b>playlist.m3u, and then press ENTER.
Or, to write the file names to the playlist in alphabetical order, type dir /b/on>playlist.m3u
This creates a file named Playlist.m3u that contains the contents of the folder and plays them sequentially. You can also use other command-line switches with the dir command to modify the order in which the files are listed in the playlist. Type dir /? at a command prompt for information about the command-line switches for the dir command.