I want to make an item in the start menu that parses the selected items as a m3u playlist to foobar2000. For foobar200, this can simply be done by "foobar2000.exe playlist.m3u" as commandline.
Now because foobar2000 will not recognize the extension .tmp of the "%L" file list (it could directly be used as a playlist for that matter), I wanted to make sure it's renamed to playlist.m3u. This should be done by the following I guessed:
Command: cmd.exe
Parameters: /c copy /y "%L" "%temp%\playlist.m3u" & start e:\multimedia\foobar2000\foobar2000.exe "%temp%\playlist.m3u"
So it should copy the list file to playlist.m3u in the temp directory. But what happens is that a file called "empplaylist.m3u" is created in the target directory (which should be specified as %T in Total Commander).
It doesn't matter whether I use "%TEMP%" ("%TMP%") or "%temp%" ("%tmp%").
I tried TC 6.52.
P.S. It could be a nice option to specify the extension of the list file, using something like "%L[m3u]" or "%L[txt]" as parameter, to deal with problems like this
