|
Answer» Dear All,
In my project I wrote code(SYSTEM() call thr' C++) to run command PROMPT . I want to run command prompt(to run some commands through batch file) in my application.But I don't want to popup the command prompt screen EVERY TIME instead it should run at the backend and give the result.How can it be possible??or can it be run in minimized mode?
Please help me in this regard.
Thanks in advance.
Are you wanting to have it run per a schedule?
If so, you'd want to look at creating a scheduled task to run the batch in the background.
http://www.microsoft.com/technet/prodtechnol/windows2000serv/evaluate/featfunc/taskschd.mspx
Hope that's of some help to you.I don't think there is a way to supress the command prompt window while calling a batch file through the system() function. But since your program is written in C++, can you just code what you want to do?Hi I am using system call as system("batchfile"); in my c++ program.. by this .. cmd.exe invokes and commands in that batch file RUNS but i don't want to popup the console. Instead batch file should run at the back end. or I want to run the batch file with the minimized mode of the console. How can i do that? Please suggest me....
Thanks.
|