How do I merge the two, so multiple files can be processed, with each file trimmed 15 seconds from beginning, and 15 seconds at the end:
@echo off
cd E:\trim\multiplefiles
mkdir trimmed
rem trims 15 seconds from end of each file, and creates a snipped file in
rem trimmed folder
FOR %%A IN (*.wav) DO sox "%%A" "trimmed\%%~nxA" reverse trim 15 reverse
and
@echo off
cd E:\trim\multiplefiles
mkdir trimmed
rem trims 15 seconds from beginning of each file, and creates a snipped file in rem trimmed folder
FOR %%A IN (*.wav) DO sox "%%A" "trimmed\%%~nxA" trim 15