title: Read data from a file using Command Prompt
body: <p>I have a C++ .exe that I want to read data from a file, using command prompt. I was told to type in <code>prog.exe &lt; case.in</code> , but this only works if both files are in the <code>C:\Users\Owner&gt; folder</code>. Is there a way I can make this work for having both of the files in different locations?</p>