I want a command that can look through all the subfolders of a directory and compile all the contents of the txt files into one.

I have a code that does this for a folder.

```
@echo on
erase Compiled.txt
type *.txt>> Compiled.txt

```

How do I make it so that it looks through all subfolders as well?

Thank you