I want to get all the txt files out of a directory that has a bunch of subdirectories with txt files.
For instance.
C:\PLR\cats\cat1.txt
C:\PLR\cats\cat2.txt
C:\PLR\cats\cat2.txt
C:\PLR\dogs\dog1.txt
C:\PLR\dogs\dog2.txt
would be copied to
C:\ALL_PLR\cat1.txt
C:\ALL_PLR\cat2.txt
C:\ALL_PLR\cat3.txt
C:\ALL_PLR\dog1.txt
C:\ALL_PLR\dog2.txt
When I tried it, it seems to move the subdirectory folders too. I just want all the text files copied to one directory all together without being in subdirectory heirarchy. Thanks.