title: Windows escape sequence issue with file path in java
body: <p>I need to use windows file path to do some operation on files but i am getting invalid escape sequence error.</p>
  
  <pre><code>File f = new File("C:\test");
  </code></pre>
  
  <p>the system accepts only " \\ " or  "/" but if I copy file path from windows it is with "\".
  how can i solve this issue</p>