Darias
Member
Code:
InputStreamReader reader =
new InputStreamReader(System.in);
BufferedReader in = new BufferedReader(reader);
path = in.readLine();
System.out.println();
Running this through a debugger, I notice that when it is given c:\ it fills path with c:\\
I can't find any documentation as to why its giving me an extraneous backslash, nor does it happen when given another directory, for example c:\dev
Any ideas?