Link to home
Start Free TrialLog in
Avatar of jhc73
jhc73

asked on

Call program(batch file) with C function.

ENGLISH:
 How to call a program(or a batch file)
 with a C function?
PLEASE, send me code.
Thanks

FRANÇAIS:
 Comment appeller un programme
 éxécutable(ou un batch file) à partir
 d'une fonction en C?
SVP, envoyez-moi du code.

Merci
Avatar of imladris
imladris
Flag of Canada image

Any ANSI C compiler will provide the function:

int system(char *command);


This function will hand the string in command to a commandline process for execution.
Avatar of jhc73
jhc73

ASKER

Can you give me more information or an example?
ASKER CERTIFIED SOLUTION
Avatar of imladris
imladris
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial