Report question

Question: How do I print all .pdf files names to an output file with command line?