I wanted to know how to add another extension to the bat script I found while searching around. Here is the script I got :
dir /s /b "drivename:\*.extensionname*" > "list.txt"
It creates a text file with all the names and path of the files with particular extension on the given drive. But I wanted to customise the script like adding another extension, make it list the files more than or less than certain size etc. I did make separate bat files for different file extensions but I wanted to combine all of them in a single one.
For now I wanted to add another extensions, and use it for listing files of a particular size. And could anyone suggest some good material to learn these bat scripts?