I use Perl on windows(Active Perl). I have a perl program to glob the files in current folder, and concatenate them all using dos copy command called from within using syste
system
is rarely the right answer, use File::Copy;
To concatenate all files:
use File::Copy;
my @in = glob "*.mp3";
my $out = "final.mp3";
open my $outh, ">", $out;
for my $file (@in) {
next if $file eq $out;
copy($file, $outh);
}
close $outh;