HiI am trying to use a batch file for inputting variables into a program and it works for the variables which are input before running the code, but not after. Here's how I approach it:1- make a batch file containing this line:code.exe < input.txt2- enter variables in the input.txt, e.g:yes2input.in1output.out3- run the batch file. It reads the input variables and runs the code, but after finishing the code, doesn't write the results into output.outAny idea?Thanks