cjk32;222754 Wrote: 
> I'm of the opinion that such functionality really belongs in wrapper
> scripts, and the the core application should be kept as simple as
> possible.
> 
> I've very little experience with DOS batch files, but a bit of research
> (http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/batch.mspx?mfr=true)
> suggests that the following (untested) should do what you want:
> 
> 1) for %f in (*.wav) do hdcd.exe <"%f" >"hdcd_%f"
> 2) hdcd <myfile.wav >NUL:
> 
> You may want to be careful with the first if you run it multiple times,
> as on the second pass it'll also attempt to process the 24bit files from
> the first run.
> 
> Regards,
> 
> Chris
OK, how about this?  Can you have hdcd.exe set it's return code
accoring to whether or not it detects the HDCD hidden code?  The return
code can be tested in the wrapper script, be it a shell script, BAT
script or whatever, making it possible to easily scan for HDCD audio
with an automated script.  I agree with you, wrapper scripts offer
great flexibility.


-- 
Timothy Stockman
------------------------------------------------------------------------
Timothy Stockman's Profile: http://forums.slimdevices.com/member.php?userid=8867
View this thread: http://forums.slimdevices.com/showthread.php?t=32967

_______________________________________________
audiophiles mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/audiophiles

Reply via email to