(grumble. I switched to CreateProcess from system() for more clarity, and now cmd isn't running. I have to go be a dad for the rest of the day; the code is at http://kegel.com/wine/cmdtest-11.tar.gz if someone wants to have a look.
It's kind of a pain developing on a netbook without a wine tree...)