On 2016-12-11 07:44, Kevin Conder wrote: > Here's a quick VBScript file that I wrote instead. Phew! I was just trying (as a VBS neophyte) to get my head round this problem, and now I don't have to. I'd suggest two changes to it though. Where you have Mark define various dirs: > leftDir = "C:\Users\markb\Desktop\instruments\Basson16L\" > rightDir = "C:\Users\markb\Desktop\instruments\Basson16R\" > stereoDir = "C:\Users\markb\Desktop\instruments\Basson16S\" it'd be easier for him (as he's going to have to change these values a lot) if he replaces those three lines with: Dim pathDir Dim sampname pathDir = "C:\Users\markb\Desktop\instruments\" sampname = "Basson16" ' a sample name, without trailing L or R leftDir = pathDir & sampname & "L\" rightDir = pathDir & sampname & "R\" stereoDir = pathDir & sampname & "S\" then each time he'll only need to change the 'sampname' value. Also, when you actually issue the sox command: > Set exec = shell.Exec(soxCommand & " -M " & _ > leftDir & subName & "\" & fileName & > " " & _ > rightDir & subName & "\" & fileName > & " " & _ > stereoDir & subName & "\" & > fileName) the last line of that probably needs to be stereoDir & subName & "\" & filename & " remix 1 4") -- Jeremy Nicoll - my opinions are my own ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today.http://sdm.link/xeonphi _______________________________________________ Sox-users mailing list Sox-users@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/sox-users