Mail Archives: djgpp/1997/06/10/02:32:05
Chris <ckeenan AT scsn DOT net> wrote in article
<3399f7f4 DOT 78421722 AT supernews DOT scsn DOT net>...
> it works fine, but when I use a .bat to allow the user to configure
> the program being called, it just ignores it.
>
> How can I get it to run
>
> system("program.bat");
>
> where program.bat is simply program.exe -1 -2??
Try:
system("command.com /c program.bat");
This invokes the command interpreter for the task. I don't know if this is
the
best (or only) way to do this under DJGPP.
Good luck.
- Raw text -