title: java.io.FileNotFoundException: "C:/Users/Joe/Desktop/file.txt" (The filename, directory name, or volume label syntax is incorrect)
body: <p>i have this code :</p>
  
  <pre><code>BufferedReader in = new BufferedReader
  (new InputStreamReader(System.in));
  System.out.print("Public Key to encrypt with: ");
  String publicKeyFilename = in.readLine();
  FileInputStream fis = new FileInputStream(publicKeyFilename);
  </code></pre>
  
  <p>when i enter the destination of the file "C:/Users/Joe/Desktop/file.txt", the result is this error: </p>
  
  <blockquote>
    <p>java.io.FileNotFoundException: "C:/Users/Joe/Desktop/file.txt" (The
    filename, directory name, or volume label syntax is incorrect)</p>
  </blockquote>
  
  <p>but the file exist, so what can i do?</p>
  
  <p>Thank u..</p>