View Single Post
Old 26th June 2010, 11:20   #10218  |  Link
`Orum
Registered User
 
Join Date: Sep 2005
Posts: 178
Yeah, the disadvantage of that is you have to be careful with your batch files. E.g., if I have one batch file, "bat_1.bat", that is
Code:
rename "C:\Program Files (x86)\eac3to\error.wav" error.none
rename "C:\Program Files (x86)\eac3to\success.wav" success.none
.\otherdir\bat_2.bat
"C:\Program Files (x86)\eac3to\eac3to.exe" foo.mkv 2:bar.flac
rename "C:\Program Files (x86)\eac3to\error.none" error.wav
rename "C:\Program Files (x86)\eac3to\success.none" success.wav
and a ".\otherdir\bat_2.bat" that is similar, e.g.
Code:
rename "C:\Program Files (x86)\eac3to\error.wav" error.none
rename "C:\Program Files (x86)\eac3to\success.wav" success.none
"C:\Program Files (x86)\eac3to\eac3to.exe" foo2.mkv 2:bar2.flac
rename "C:\Program Files (x86)\eac3to\error.none" error.wav
rename "C:\Program Files (x86)\eac3to\success.none" success.wav
I won't get the intended silent result. Just need to be really careful of the order you do things in, and where you do the renaming. A flag avoids the ordering problems.
__________________
My filters: DupStep | PointSize
`Orum is offline