I'm creating my first command application in Visual Studio.
I was wondering what is the command to read lines from a batch file. I need to be able to read the first line of a batch file then call some method with the parameters I got from the first line, after that I need to be able to read the second line from a batch file and call the same method, and so forth until the end of the file.
I already know how to call methods. I just need to know how to read the batch file.