Hi, I am using a 16-bit compliler and i wanted to execute a dos commmand through c++ using system() command.I wrote the following code but it didn't help
#include<proces s.h>
void main()
{
system("c:\\win dows\\system32\ \Notepad");
}
I even tried wid 'system("notepa d")' but even tht didn't run the command.Plz tell me if i am going wrong anywhere...
#include<proces s.h>
void main()
{
system("c:\\win dows\\system32\ \Notepad");
}
I even tried wid 'system("notepa d")' but even tht didn't run the command.Plz tell me if i am going wrong anywhere...
Comment