R
R
Rinat Bakiev2018-05-19 09:37:47
cmd/bat
Rinat Bakiev, 2018-05-19 09:37:47

How to "when copying to one file" sort files in windows terminal?

Hello!
There is a task to copy/merge video files into one file. There are about 300 files. When executing the "copy /b *.ts joined_files.ts" command, the files are connected according to an unimaginable sort:

media_88.ts
media_89.ts
media_9.ts
media_90.ts
media_91.ts

How can I sort by name so that the sort is in ascending order?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
res2001, 2018-05-19
@res2001

Is there a sort command:
sort /?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question