# REQ: command line to make m3u of selected files...

**URL:** https://community.mp3tag.de/t/req-command-line-to-make-m3u-of-selected-files/14435
**Category:** General Discussion
**Created:** [February 7, 2013, 9:28am UTC](https://community.mp3tag.de/t/req-command-line-to-make-m3u-of-selected-files/14435 "2013-02-07T09:28:47Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![robdean](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/r/ba9def/32.png) [@robdean](https://community.mp3tag.de/u/robdean)
#### Post date: [February 7, 2013, 9:28am UTC](https://community.mp3tag.de/t/req-command-line-to-make-m3u-of-selected-files/14435/1 "2013-02-07T09:28:47Z")

</div>

The program is great and I use it in lots of ways.

One thing I do a lot is open a bunch of files and hit 'Ctrl-P' or click the toolbar icon to make an m3u playlist and then quit.

I wish I could set up a 'Send To' in Windows context menu which would automate all that: 'Create m3u in mp3tag' - just kind of like: {mp3tag.exe/p "%1,%2,%3..."} where '/p' asked the program to 'make playlist from input files according to config settings (such as %album%.m3u) and then quit'.

Thank you for this great utility...

---

<div class="post-metadata">

### Author: ![JJ\_Johnson](https://community.mp3tag.de/user_avatar/community.mp3tag.de/jj_johnson/32/67_2.png) [@JJ\_Johnson](https://community.mp3tag.de/u/JJ_Johnson)
#### Post date: [February 7, 2013, 9:32am UTC](https://community.mp3tag.de/t/req-command-line-to-make-m3u-of-selected-files/14435/2 "2013-02-07T09:32:57Z")

</div>

How would you use that?

An m3u is just a list of file names. It's pretty easy to create a batch file that would create an m3u from selected files.

---

<div class="post-metadata">

### Author: ![mjcm](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/9d8465/32.png) [@mjcm](https://community.mp3tag.de/u/mjcm)
#### Post date: [February 7, 2013, 9:35am UTC](https://community.mp3tag.de/t/req-command-line-to-make-m3u-of-selected-files/14435/3 "2013-02-07T09:35:56Z")

</div>

> [@Rob Fawcett](#):
>
> The program is great and I use it in lots of ways.
> 
> One thing I do a lot is open a bunch of files and hit 'Ctrl-P' or click the toolbar icon to make an m3u playlist and then quit.
> 
> I wish I could set up a 'Send To' in Windows context menu which would automate all that: 'Create m3u in mp3tag' - just kind of like: {mp3tag.exe/p "%1,%2,%3..."} where '/p' asked the program to 'make playlist from input files according to config settings (such as %album%.m3u) and then quit'.
> 
> Thank you for this great utility...

What I notice (I don't know if this helps) but when I select the files via Explorer and select (from right click) Mp3tag, Mp3tag opens, but it also creates a MTShell.m3u8 in my C:\Windows\Temp directory with the files selected via Explorer. Is that of any use to you ?

---

<div class="post-metadata">

### Author: ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)
#### Post date: [February 7, 2013, 12:50pm UTC](https://community.mp3tag.de/t/req-command-line-to-make-m3u-of-selected-files/14435/4 "2013-02-07T12:50:26Z")

</div>

> [@Rob Fawcett](#):
>
> ... I wish I could set up a 'Send To' in Windows context menu ... to 'make playlist from input files ...

Note that the "Send To" feature works only with a limited number of files.

DD.20130207.1445.CET

---

<div class="post-metadata">

### Author: ![robdean](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/r/ba9def/32.png) [@robdean](https://community.mp3tag.de/u/robdean)
#### Post date: [April 30, 2013, 3:20pm UTC](https://community.mp3tag.de/t/req-command-line-to-make-m3u-of-selected-files/14435/5 "2013-04-30T15:20:28Z")

</div>

Thanks for the suggestions.

The reasons I don't prefer to use just a batch file:

1. mp3tag can pull out the album name from the file tags as a name for the m3u
2. Well-formed playlists are more than just a list of files, though this will work in many situations. However I encounter situations where the metadata comments are required.

Seeking a temp file is interesting but I'd find it more trouble than using mp3tag manually! Well spotted though...
