posted 19 years ago
It looks like you are trying to move files from one directory to another, correct? But this code:is actually attempting to rename all files in C:/test/batch to D:/test/batch. Since D:/test/batch is actually a directory that already exists, the renameTo() call fails.
Try modifying your code to something like this:
Blake Minghelli<br />SCWCD<br /> <br />"I'd put a quote here but I'm a non-conformist"