OS : Win XP pro
Problem : file concatenation using filename indexes
Some idiot chopped up an mp3 file into 99 pieces of all less than 1 minute long chunks. filenames are track## where ## is ranging between 01 and 99. What I am trying to accomplish is:
for i=1 to 99 step 5
for j=i+1 to i+4
copy track(j)+track(j+1)+track(j+2)+track(j+3)+track(j+4) supertrack(j)
continue
continue
I know this code is neither basic nor DOS but I am not proficient in either of these, so goes my question. Is there anyway that I can accomplish this using the command window running under WinXP pro ? If not, what would be a good basic code and where can I get my hands on a copy (freeware) of basic interpreter ?
Thanks for all your help.