I'm looking for an equivalent command line on Windows to the following Unix command:
find test -name '*.txt' -print
This command lists every filename which is in the 'test' folder and subfolders, with the .txt extension. In addition, the list displays the subfolder name in the case the file is in a subfolder:
file1.txt
sub/file2.txt
sub/file3.txt
sub2/file4.txt
file5.txt
Does anyone know an equivalent on Windows?