| 1. |
Solve : sorting output of dir command? |
|
Answer» I am trying to use the DIR command to sort all files with the same extension through all the SUBDIRECTORIES by their CREATION date (date written) and output that to a text file. I can get it to work with one problem. The sorting is done within each subdirectory first, and I want it to sort and output all filenames by creation date regardless of subdirectory. Basically I want to use this to generate lists of all my MP3 files listed by newest to oldest disregarding how they are organized on the drive. I know there are other ways to do it, but I want a dos-based batch file! Any help would be appreciated!UNLESS I'm missing the obvious (wouldn't be the first time ), this is harder than it appears. |
|