For me, "c:" is always the path of the the executing program. When I move the executing file, then the path och File("c:") is changing to that directory. That is why I think that PhHein is executing...
Type: Posts; User: iHank
For me, "c:" is always the path of the the executing program. When I move the executing file, then the path och File("c:") is changing to that directory. That is why I think that PhHein is executing...
In the middle example, from what path are you running the program?
Yes. It certainly is very strange and, as you say, it seems that this only occurs with "c:".
It will be interesting to find out what's going on.
Hank
Hello!
I've create a small program, and when I create a File object like
File f = new File("c:")
and then call the method isDirectory, it returns true. Why is that?
The program is...