i want to run time.bat through C programming i used system command in this way :-
the problem is the program is running correctly with no error in compiling but showing only clear output screen and ma time.bat batch is not running what shall i do to run that file in c ?? please help me:'(
Code:
*-----------------**--------------------------------- //(time.bat file) @echo on time @echo off **---------------------**------------------------------
Code:
#include<stdio.h>
#include<process.h>
#include<stdio.h>
void main(){
print("calling time.bat\n");
system("E:\TURBO\BIN\time.bat");
}
Comment