1rem Example of how to do batch processing with SoX on MS-Windows.
2rem
3rem Place this file in the same folder as sox.exe (& rename it as appropriate).
4rem You can then drag and drop a selection of files onto the batch file (or
5rem onto a `short-cut' to it).
6rem
7rem In this example, the converted files end up in a folder called `converted',
8rem but this, of course, can be changed, as can the parameters to the sox
9rem command.
10
11cd %~dp0
12mkdir converted
13FOR %%A IN (%*) DO sox %%A "converted/%%~nxA" rate -v 44100
14pause
15