I guess it kind of depends on what you want to do. I have used both; I use CreateProcess() if I am going to execute another program and want to wait for it to complete before going on. I use system() to run a quick DOS-type command like "type" or "dir". <br>
<br>
Depending on what you want to do, either would work, but reading a bit between the lines I would hazard a guess and say that you may want to use CreateProcess().<br>
<br>
Good Luck! <p>Pat Gleason<br><a href=mailto:gleason@megsinet.net>gleason@megsinet.net</a><br><a href= > </a><br>