This topic is now archived and is closed to further replies.

running a program from a program

This topic is 5177 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

for createprocess() or winexec() i imagine the program to run is the parameter...?

what about system, how does that work...
I know u can do system("pause") to pause, but can you
enter just any command that you could use at a command
prompt *wondering if pause is a command*, nehoo thx
was just curious...

i meant in C by the way...

Share this post

Link to post
Share on other sites
Umm I think that's defined in stdlib.h, by the way that's just like typing something into your DOS prompt that's why it works, though you have more control with CreateProcess() and if you want to find out how to use it look it up in MSDN.
And here's the one for WinExec

[edited by - FtMonkey on October 9, 2003 12:00:16 AM]

Share this post

Link to post
Share on other sites