title: How to log input and output of a batch file to a text file?
body: <p>I have created a batch file with 2000 lines of code and which will peroform various operations in my daily work. For this batch file I have to give some inputs to enable/disable some of the operations. Finally the batch file is ready and working fine.</p>
  
  <p>But I want to have a log file in which everything which is coming on the command window should be logged, including the inputs that I have given to the batch file and also the execution process.</p>
  
  <p>Is there any way do like this? Any one of you can help me?</p>
  
  <p>Thanks in advance...
  Nagaraju</p>