Here i have a problem please help me.
I had made and console application named "input.csproj".On debug it created "input.exe" and the following line of code i have used.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace input
{
class Program
{
static void Main(string[] args)
{
string a=Console.ReadLine();
Console.WriteLine(a);
Console.ReadKey();
}
}
}
Now the the problem is that i want to use it in "cmd" to give it input.Like...
1. Open the cmd.exe
2. "c:\input.exe" "Someinput"
3. it only display the output which is "someinput".
please tell me what i have to do?I will be very thankful to you.
Thankx in advance....