I'm trying to incorporate an ISO creation function within my app. It's purely for creating dvd-video compliant ISO images.

I'm using the open source mkisofs.exe (with cygwin1.dll). The full command should be:-

mkisofs.exe -dvd-video -o <isoimagename.iso> <directory with video files>

e.g.

mkisofs.exe -dvd-video -o "c:\isoimages\test.iso" "c:\dvd files\my movie"

I've tried various ways of calling this, but each time I do, a command prompt windows appears and in a split second disappears again, and I don't know why!

ALSO, while on the subject, if I can get that bit working, then mkisofs.exe outputs a percentage complete as it goes through the process - I'd like to redirect that output back to my application so that I can incorporate a progress bar....

Can anyone help?