How-to MS-DOS Windows

How to easily merge multiple mp3 files into a single mp3 file using MS DOS

A recent comment:

Kongo, do you have suggestions about how to merge two mp3 files into a single one? I have a few double-DVD concerts (operas, to be precise). I can generate a single mp3 file for each one, but it would be nice to merge them. Is there a way to do that? Thanks.

There are several ways to merge audio file. You can use Audacity, or other professional audio editing programs. But, if you are like me, and like MS DOS, it’s very easy to merge multiple mp3 files into a single mp3 file using MS DOS.

With your windows installation, you get a choice of 4 operating systems. One of these operating systems is the Microsoft Disk Operating System – MS DOS. This is the operating system that windows replaced. It’s a non- graphical operating system. And you access it using the command prompt, also known as CMD.

Now before we jump into MS DOS, you’ll need to know 2 MS DOS commands to successful merge files: CD and COPY. 

CD is short for Change Directory. This is the command you’ll use to navigate through directories, also known as folders, in a drive.

The copy command copies one or more files into another location.

With that out of the way, let’s me show you how to merge multiple mp3 files into a single mp3 file using MSDOS.

Step 1: Launch Command Prompt (CMD)

Step 1: Launch Command Prompt (CMD)

Click on windows search or Cortana and search for Command Prompt or CMD. Command Prommpt will show up in the search results. Click on it to launch or press enter. You can also launch CMD from the Run command: simultaneously press the windows + r keys and then type CMD and click okay or press enter.

Step 2: Copy the Folder Path

Step 2: Copy the Folder Path

Open windows explorer and navigate to the folder that contains the files. Click on the address bar to reveal the folder path. Note the drive letter, in this case it’s G, and then copy the folder path.

Step 3: In MS DOS Navigate to the Drive

Step 3: In MS DOS Navigate to the Drive

Head back to command prompt and type the drive letter and a colon. The drive that contains the folder that contains my files is drive G. So I type G colon.

Then hit enter. This is how you navigate to drives in MSDOS. Type in the drive letter, colon, and hit enter.

Step 4: In MS DOS Navigate to the Folder

Step 4: In MS DOS Navigate to the Folder

Now that we are in the right drive, let’s navigate to the folder that contains the files. We’ll use the change directory command.

So type CD, space, then right click with your mouse. Right clicking with your mouse pastes the folder path that we copied from the address bar. Press enter. And you have successfully navigate to the folder that contains your files.

Step 5: Merge your mp3s

Step 5: Merge your mp3s

We are going to use the copy command, to merge 2 mp3 files into a single mp3 file. In MSDOS, I find it useful to see the command parameters. So, type help copy and hit enter. CMD will output the copy command parameters or the syntax of the copy command.

From the copy command syntax, we can see that to append files, we’ll need to type copy, space, then the parameters; backward stroke, A, B, D and so forth. Then the source files, with a plus sign between them, then the destination file.

Let’s write this out:

copy /b audio-from-dvd-01.mp3 + audio-from-dvd-02.mp3 merge.mp3

You do need to make sure that you type in the exact names of the files with their extensions. Then a space, and the name of the destination file, mine is merge.mp3. Then press enter.

Once MSDOS is done, you’ll get an output of the merged files

A few nota bene:

If your filenames have spaces you’ll need to surround them with quotes, so “my file1.mp3” + “my file2.mp3” and then the destination filename. If you don’t you’ll get a syntax error.

You can also use wildcards to define your source files. Let’s say you have a folder with numerous mp3 files that you want to merger into one. Instead of writing all the filenames, you can simply type:

copy /b *.mp3 merge2.mp3

Then hit enter. And all the mp3 files in the folder will be combined into merge2.mp3 file.

You can define the folder path of your destination file. Simply append the folder path to the destination filename. So G:\merge.mp3 will save the merged mp3 file in the G drive root folder.

Finally, this method also works for other binary files, wav audio, mp4 video, and so forth. And also text files, for instance, notepad, word and even excel files. Simply change the parameter to stroke A or remove it as the DOS default parameter is text files.

That’s it for this post. If you have any questions, comments, suggestions, please post them in the comment section below. Have a great day!

By Kongo

Kongo enjoys sharing great and easy to implement tips on popular software and web technologies.

0 0 vote
Article Rating
Notify of
Inline Feedbacks
View all comments