Joining lots of MP3s

Microsoft Windows 7 home premium 32-bit
April 16, 2010 at 10:48:13
Specs: Windows 7
Hello, I'd appreciate some advice on writing a
batch file to join lots of mp3s. They're
organised in separate folders and named
track01.mp3... trackxx.mp3, etc. I can
join these using the following command:

copy /b *.mp3 "..\new.mp3"

However, I would like to be able to automate
this so that each folder is processed
automatically and that the new mp3 is named
<foldername>.mp3

Any help is very much appreciated.

Stuart


See More: Joining lots of MP3s

Report •


#1
April 16, 2010 at 14:51:15
might try this:
@echo off & setlocal
:aa
for /d %%a in (*.*) do (
pushd %%a
copy /b *.mp3 \mp3\"%%~na.mp3"
call :aa
popd
)
::------- end
i just made up a directory (\mp3) to deposit them in. Run it from the root of the mp3 collections

Report •

#2
April 17, 2010 at 12:14:16
That's excellent - thank you very much indeed!

Stuart


Report •

#3
April 19, 2010 at 02:15:26
Does that work ? I mean, surely you are creating corrupt MP3 files, no ?

Report •

Related Solutions

#4
April 19, 2010 at 02:23:03
Works perfectly. It's important to strip out the ID3 tags beforehand though. I use this to do so.

Also, the files have to be the same bitrate, etc. It seems to work just fine though.


Report •

Ask Question