Exporting files with given extension to a new file in DOS

July 31, 2012 at 10:09:57
Specs: Windows Vista
How do I export files with a certain extension in DOS? I have some files with the extension .FA scattered in many folders within 4 folders. I would like to export the content of all those files with the extension .FA into a new, single file, also with the extension .FA.

Any advice?



See More: Exporting files with given extension to a new file in DOS

July 31, 2012 at 15:49:18
Check this recent thread for a dos and non-dos solution for copying files spread over more than one directory:


To have them all go into a single file something like XCOPY C:\*.FA D:\TEST.FA /S should be a dos solution, where C: is where the drive containing the files and D: is the drive where they're going and test.fa is the file they're going into.

Of course if you dump everything into the same file you may end up with a worthless mess.

Report •

August 1, 2012 at 03:18:47
Please be aware that Vista aka NT6 does not have MS-DOS, the command line is Windows CMD aka NT Command Line


ARM Devices the future. Windows have accepted the fact!

Report •

August 1, 2012 at 09:52:14
Wait a minute.
Are you using FASTA Format DNA and Protein Sequence Alignment - FASTA is a DNA and Protein sequence alignment software package?

If so you can't easily join them into a single file.

Google is evil

Report •

Related Solutions

August 1, 2012 at 10:25:57
It is FASTA DNA sequence alignment, but I have been told that it is possible to concatenate them...

Report •

August 1, 2012 at 19:45:17
I'd need to know more about the format of the file. The application used for them may be the best place to do it.

Most unique files have some feature unlike plain text or simple data like comma delimited. The files you have may have start data and end data or even be in compressed or encrypted state.

Oddly enough, we don't get too many DNA sequence questions.

Google is evil

Report •

Ask Question