renameTo for directories
Posted on 1998-06-19
I tried to rename a directory and found the logic of it
was no good. It is suppose to be if e:\cache\one.txt
exists then rename e:\cache to e:\cache1. I tried defining
the variables as File such as f1=new file("e:\cache") but
no luck. I dont understand the arg idea too well. Can you
tell me a good source on addition instructions for renameTo?