Search:

Type: Posts; User: DavidFongs

Search: Search took 0.09 seconds.

  1. Replies
    15
    Views
    3,078

    Re: renaming/deleting file

    From your original post, its obvious you are using Windows to do this. On a windows system, what you are trying to do will fail if a file already exists with the name you want to rename the temp...
  2. Replies
    15
    Views
    3,078

    Re: renaming/deleting file

    renameTo(File dest) returns a boolean that indicates whether the rename operation was successful or not. I would recommend checking this return value to determine what behavior you should expect.
    ...
Results 1 to 2 of 2