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