This seems easy in Linux, but I\'m trying to print the names of *.pdf files within a directory and its subdirectories to an output file. I have Perl installed on my
*.pdf
Not much different than Linux.
dir *.pdf > fileyouwant.txt
If you only want the filenames, you can do that with
dir/b *.pdf > fileyouwant.txt
If you also want subdirs,
dir/s/b *.pdf > fileyouwant.txt
If you aren't in that directory to start with
dir/s/b C:\Path\*.pdf > fileyouwant.txt