View Single Post
  #2  
Old 2004-12-14, 12:27 PM
RainDawg's Avatar
RainDawg RainDawg is offline
Renegade Geek
 
Join Date: Oct 2004
Location: Passing swiftly through The Moor
Re: shntool -fix command HELP ??

Yeah, I have a batch file that I use to fix sets. You will have to be careful when you use it, as it will fix the files in sequential order by their filename, so if they are not in order or if you have multiple sets in one folder, it can cause audio to get appended the wrong way.

Also note that this batch file will work on any shn/flac/wav/ape file. You could take out support for one of these formats if you choose. As a default, this will output to .wav with the -fixed appended to the end of the filename, but this can be changed to output directly to one of these formats (but I'll leave that as an excercise to you).

Code:
@echo off
%~d1 & cd %*
for %%T in (shn flac wav ape) do if exist *.%%T shntool fix *.%%T
pause
__________________
Through the clouds,
Throught the lies,
We'll never see,
What's never been,
At the ending of life and the coming of death,
Pass not through its gates but into the dark.
Reply With Quote Reply with Nested Quotes