Save A List of Files to a Text File by Extension



dir *.ext /s /b > files.txt

This command line will create a file called files.txt. When you open this file, there will be a complete list of all the files in that directory and all subdirectories with the .ext extension. You can then open up this text file in any text editor and work this the information.By changing the ext part, you can select different files. For example, if you wanted to list all of the PDF documents, you would type:

dir *.pdf /s /b > files.txt

--  Wasim Akhtar

No comments:

Post a Comment

If you have any question please let me know

Tip: How to Enable or Disable Link Previews Feature in Firefox

UPDATE: The “Link Previews” feature is now enabled by default for all users in Firefox 146.0 and later versions. A new dedicated option is a...