• 0

Need Help


Question

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

  • 0
i tought that a batch file was in DOS, but your speaking of C

yeah i gave an example in C of an idea of the batch file i wanted.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.