I have program as below:
private Properties props;
........
.........
Vector v;
......
.......
v.add("c:\\tmpdir");
.......
.......
OutputStream outputStream = new BufferedOutputStream(new FileOutputStream(file));
props.store(outputStream, "My Properties");
I expect the
string stores in the file should be "
c:\\tmpdir", but it turns out to be "
c\:\\tmpdir" due to props.store(................);
How do I eliminate the the extra backslash(\) following by [b]
C[/b]