title: how to give input to a command line?
body: <p>i need a help on how to give input to  a command prompt using a batch file..
  for example- 
  if i run the command mysql -u root -p to open my mysql server and it asks for password.. how i m gonna give that password to it using a batch file...
  pls help me i am little new to it</p>