Well I guess I'll just do it the manual way copeg suggested. Thanks anyway guys!
EDIT: Ah yes! I partly figured it out! :D Ok, so what needed to happen is that I had to delete/rename the files...
Type: Posts; User: The_Mexican
Well I guess I'll just do it the manual way copeg suggested. Thanks anyway guys!
EDIT: Ah yes! I partly figured it out! :D Ok, so what needed to happen is that I had to delete/rename the files...
I have Java SE 6 Update 21. I guess I'll update it to 23 but I doubt that's the problem...
1. Windows Vista. I seriously doubt I would need elevated privileges in order to delete these text files. I've tried deleting them manually and it works.
2. Yes, I checked using the way you...
I tried what you suggested but it still came up as false and nothing happened :( It guess the only way this will work is doing what copeg suggested?
dir is basically where the program is running from. I can't remove the static because I was taking these lines somewhat out of context, there is a reason I need the static there.
Ok, so I checked the return value and saw that they both came up as false. But now is there a way I could make it work? Does renameTo() just not work if there's always a file by that name?
Hi again, I now have a problem where I rename a file, and delete another one, and neither one of the actions are actually happening.
It looks like this:
static File rfile = new File(dir +...