91
Support - (fb2k) / Re: .bat files aren't working in converter in v2
Last post by Case -marc2k3's solution is a good method guaranteed to always work.
There seems to be a change in behavior in converter since foobar2000 v2.0 that batch file is called only by name and not by full path so it only works when it's found in %PATH%.
PS: I'd recommend renaming your lossyWAV.bat to lossyFLAC as it is hardcoded to use FLAC. Also it has a bug, last part should be "%~dp2%~nx2" instead of "%~dp1%~nx2", otherwise it will create the encodes in the source directory and not in the specified target directory. Doesn't affect foobar2000 the way it's used now, but you may want to use it outside foobar too.