Can someone please help me write a simple batch file. I have done it in C but it does not work because the system command wont accept two parameters. Most of you will get the idea what i want doing from this C code. Thanks in advance.
#include <stdio.h>
#include <windows.h>
int main()
{
int i = 0;
for(i;i <99999;i++)
{
system("nectalk -pt pte %d com6 unlock",i);
}
return 0;
}
Im after a simple look that executes the command but just changes the number each time.
Question
+John Teacake MVC
Can someone please help me write a simple batch file. I have done it in C but it does not work because the system command wont accept two parameters. Most of you will get the idea what i want doing from this C code. Thanks in advance.
#include <stdio.h> #include <windows.h> int main() { int i = 0; for(i;i <99999;i++) { system("nectalk -pt pte %d com6 unlock",i); } return 0; }Im after a simple look that executes the command but just changes the number each time.
Sawyer12
Link to comment
Share on other sites
4 answers to this question
Recommended Posts