title: How to read a textfile from a specified folder?
body: <p>I am trying to read a text file from a specified path but have this error <strong>The System cannot find the file specified</strong></p>
  
  <p>This is the code:</p>
  
  <pre><code>File file=new File("D:\\Progs\\FinalCS\\Records\\record.txt");
  FileReader FileR=new FileReader(file);
  Scanner scan=new Scanner(FileR);
  </code></pre>