K
KC Wong
Hello,
I have the following code,
during system boot up, I need to run some DOS programs, and they will
end automatically. My question is how to suppress the screen messages
so that users are unaware of the DOS programs? The client PCs are
using Windows 98.
#include <atlbase.h>
#include<iostream>
using namespace std;
void main(){
//pause for some seconds
system("TYPE NUL | CHOICE.COM /N /CY /TY,5 >NUL");
//start running
system("c:\\test.exe");
}
Thanks!
KC
I have the following code,
during system boot up, I need to run some DOS programs, and they will
end automatically. My question is how to suppress the screen messages
so that users are unaware of the DOS programs? The client PCs are
using Windows 98.
#include <atlbase.h>
#include<iostream>
using namespace std;
void main(){
//pause for some seconds
system("TYPE NUL | CHOICE.COM /N /CY /TY,5 >NUL");
//start running
system("c:\\test.exe");
}
Thanks!
KC