I will normally run my Java Program with input file in my current directory.
java myClass < input.txt > output.txt
However, what should I type if my input file is in another directory (eg. thumbdrive), and I want to save my output file to that same external directory too?
Have you tried specifying the full path, e.g.