Posts Tagged ‘script’

Windows .bat file to recursively list all files of type *.mp3 – Stack Overflow

How about the command DIR…

dir /s/b *.mp3

… the above command will search the current path and all of this children. To get more information on how to use this command open a command window and type DIR /?

You can add the results to a file with ‘> [filename]

EDIT…

I have no idea how good this reference is but here is a DOS tutorial. It looks pretty detailed (then again I have been using DOS for a LONG time.)

DOS Tutorial

Here is a link to my site where I have a pretty complex batch file. It may give you a few ideas.

Batch Files

via directory – windows .bat file how to recursively list all files of type *.mp3 – Stack Overflow.

Windows commands

Remove folder
rmdir