Do you need it to be command-line, really? (a console app I mean). Wouldn’t ashQuick.exe do the trick?
Thanks Vlk