I want to do exactly what unix "cat" does, but on my PC. Is there a simple equivalent command for the Windows command line?
Specifically I want to create a file from all the files of a given type in a folder
In Unix:
cat *fna >all_fna_files.fna
(which joins all the ".fna" text files into one big text file)
Best Answer
type
It works across
command.com
,cmd
, and PowerShell (though in the latter it's an alias forGet-Content
, so iscat
, so you could use either). From the Wikipedia article (emphasis mine):