How do you scan a file with java that isn t in the directory the java file is in?
For example: The java file is located at "C:FilesJavaFiles est.java" However, the file I want to scan is located at "C:DataDataPacket99data.txt"
Note: I ve already tried putting another java file in the "C:Data" directory and using the test.java file as a class, but it doesn t work. It still tries to scan from the "C:FilesJavaFiles" Directory.