|
again batch file
i have use system but i am unable to pass the varable to it
how can i do this
eg
system("c:\text.bat c:\textfile.txt");
this code is working but when what shaLL I do in this case
char ch[20]="textfile.txt"
system("C:\text.bat c:\ch);
i know this is error how to correect it
i dont to be specific with the name of the text file
i want to use i as a variable
|