title: Property file update not working properly for ":"
body: <p>I want to update the property in properties file in java. But it is working for the String contains ':'. for example "C:\Kamlesh" it writes "C\:\Kamlesh" code as follows </p>
  
  <pre><code>FileInputStream in = new FileInputStream("D:\\test\\prop.properties");
  Properties props = new Properties();
  props.load(in);
  in.close();
  
  FileOutputStream out = new FileOutputStream("D:\\test\\prop.properties");
  props.setProperty("filename", "C" +":" + "\\america");
  props.store(out, null);
  out.close();
  </code></pre>