This is the sample code for how to execute DOS commands in C language
#include<conio.h>
#include<stdio.h>
#include<process.h>
void main()
{
system("dir"); // use your desired command instead of "dir" command
getch();
}
Your Learning Road Goes Ahead...
0 comments:
Post a Comment
You are most welcome for making comments here. I will consider your view and will reply you soon.