I made some kind of working model for integration in UI under context menu
Send to. In application path should be
C:\Windows\System32\cmd.exe
and as a parameter there should be
/c mkdir %TEMP%\MP3\ & copy "<URL>" %TEMP%\MP3\ & copy /b %TEMP%\MP3\*.mp3 %userprofile%\desktop\new-merged-MP3.mp3 & rmdir %TEMP%\MP3\ /s /q
But this is not working properly, every URL (file path) is passed and rest of commands goes all to the end an restart for each file, which means that folders and files are deleted each time, so it couldn't be used. "<URLs>" is the way to go, but there is problem that I do not know how "<URLs>" (file paths) are passed to external apps.
Is it
file1.mp3 file2.mp3 file3.mp3 etc or is it something else entirely? I ask this because it will work if this was the way "<URLs>" are passed to cmd. I even tried with
/k mkdir %TEMP%\MP3\ & for %I in ("<URLs>") do copy %I %TEMP%\MP3\ & copy /b %TEMP%\MP3\*.mp3 %userprofile%\desktop\new-merged-MP3.mp3 & rmdir %TEMP%\MP3\ /s /q
but this is not working either, error says "<URLs>" not expected. If "<URLs>" paths are passed as file1.mp3 file2.mp3 file3.mp3 that part would look like this
for %I in (file1.mp3 file2.mp3 file3.mp3) do copy %I %TEMP%\MP3\
and that works, I tried it manually. So, any ideas, anyone? How to turn this almost working into
working?