This content has been marked as final. Show 4 replies
If you can do this renaming from a command line, I think you can do it in Java, although I heard some rumors that
there may be problems with Universal Path Names. Anyway, try it from the command line and please post the
relevant contents of the Command Prompt here (copy and paste), so we can convert it to Java.
Edit: If I understand well, oldDir.exists() returns false. This is because a Universal Path Name starts with 2 backslashes, which translate to 4 in your string.
Edited by: baftos on Sep 8, 2008 4:40 PM