visual studio command line arguments

I just finished my project for the week. The program reads from stdin, and he gave us a file to use, and told us to just redirect the file into the program.
In Visual studio, I entered the command line argument in project properties, but when I run the program is says:
Input or output cannot be redirected because the specified file is invalid
Where exactly is Visual Studio looking for that file?
You can't run your app from within Visual Studio. You'll need to run it from a console.
Topic archived. No new replies allowed.