Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8961897
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T15:59:54+00:00 2026-06-15T15:59:54+00:00

How to concat many (say 500) mp3 files into one file (any type) and

  • 0

How to concat many (say 500) mp3 files into one file (any type) and then extract any specific file as mp3 format?

Currently I get all the files using this code:

int i = 0;
string[] files = new string[500];
foreach (var path in Directory.GetFiles(@"R:\abc\a\"))
{
    files[i++] = path;
}

Thanks in advance.

Update: If I can’t extract any specific mp3 file then I want to extract all the mp3 files to a specified directory. ZIP, RAR etc aren’t enough because I have to prevent humans to extract mp3 files without my program.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T15:59:55+00:00Added an answer on June 15, 2026 at 3:59 pm

    While a home-brewed container format (such as those suggested in other answers here) might work, I recommend using a well-known container format such as .zip. Although you wouldn’t get much benefit out of compression, you’ll get the file name, plus the ability for other progs to create/extract your file archive.

    If you need help on how to create .zip programmatically, research the web (and particularly StackOverflow), and if you still don’t know, ask as a separate question.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently using the split command to split a large file into many 50MB
I ‘concat’ an id of just loaded image into mysql user record like this.
I am working on a stylesheet employing many templates with match attributes: <xsl:template match=//one
I have 2 related MySQL tables in a one to many relationship. Customers: cust_id,
I didn't find any dupes of this question, but if there is one or
I have a many-to-many relationship between People and Departments since one person can be
Basically, there is an attribute table and translation table - many translations for one
I have table A and B with many to one associations (b contains fk_a).
I have two tables lesson and subjects. It is a one to many ratio
Possible Duplicate: Why is String.Concat not optimized to StringBuilder.Append? One day I was ranting

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.