oh, btw.
simple commandline from the proggie could be yet easier.
if you can't control it, you can fake it.
let it think it's passing it's params to some proggie/script but instead filter them to file, etc.

ja, lot of choises there.
_________________________
!

download KiXnet