Channel | Publish Date | Thumbnail & View Count | Actions |
---|---|---|---|
| 2024-06-28 12:35:10 | ![]() 116 Views |
/”Learn how to quickly list all PDF file names using Command Prompt in Windows. Perfect for easy file management! #Shorts #CMD #WindowsTips #TechTips/”
Code explanation below:
Explanation:
dir: Command to list directory contents.
/”C://path//to//your//directory//*.pdf/”: Specifies the directory and filters to list only files with the .pdf extension.
/b: Switch to display the bare format /”only file names, without additional details/”.
greater than sign: /”C://path//to//your//directory//pdf_list.txt/”: Redirects the output to a text file or csv file named pdf_list.csv in the same directory.
Please take the opportunity to connect and share this video with your friends and family if you find it useful.