Using C in Visual studio environment i have the following code to run an executable eccard.exe. I can use 'system' to
actually run the command from inside my program.
My problem is after running : eccard stop , it pops up a console asking for sure : Y/N and i have to type in Y, to continue this process.
I would like to send my answer in my program so that the user may not have to do anything.
Following is what i tried, but it does not seem to work.
system("c:\\winnt\\system32\\eicon\\eccard stop < c:\\bat\\del_yes.rsp"
Any help is really appreciated.
Thanks.
~~fromkc
actually run the command from inside my program.
My problem is after running : eccard stop , it pops up a console asking for sure : Y/N and i have to type in Y, to continue this process.
I would like to send my answer in my program so that the user may not have to do anything.
Following is what i tried, but it does not seem to work.
system("c:\\winnt\\system32\\eicon\\eccard stop < c:\\bat\\del_yes.rsp"
Any help is really appreciated.
Thanks.
~~fromkc