ref: 84ae4fe3de005f9e5844dcb1302c9b22bf63974e
parent: 6c97d471ef01292c9e1c6068cc06ac9611dc1eb5
author: robs <robs>
date: Thu Oct 30 01:29:40 EDT 2008
example of batch processing on MS-windows
--- /dev/null
+++ b/scripts/batch-example.bat
@@ -1,0 +1,14 @@
+rem Example of how to do batch processing with SoX on MS-Windows.
+rem
+rem Place this file in the same folder as sox.exe (& rename it as appropriate).
+rem You can then drag and drop a selection of files onto the batch file (or
+rem onto a `short-cut' to it).
+rem
+rem In this example, the converted files end up in a folder called `converted',
+rem but this, of course, can be changed, as can the parameters to the sox
+rem command.
+
+cd %~dp0
+mkdir converted
+FOR %%A IN (%*) DO sox %%A "converted/%%~nxA" rate -v 44100
+pause