Results 1 to 2 of 2
  1. #1
    Hemanth Kumar is offline Member
    Join Date
    Feb 2012
    Location
    Bangalore
    Posts
    32
    Rep Power
    0

    Question How to rename a file from one extension to other.

    HI I have a file by .xcvs extension and i want this file in .txt extension. how can it be done in java..

  2. #2
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,516
    Rep Power
    25

    Default Re: How to rename a file from one extension to other.

    Look at the File class. It has a method for renaming files.
    If you don't understand my response, don't ignore it, ask a question.

Similar Threads

  1. Replies: 5
    Last Post: 10-17-2012, 10:07 AM
  2. Copy,Delete,Rename File IO
    By jtyler in forum New To Java
    Replies: 0
    Last Post: 10-04-2010, 04:34 AM
  3. Unbale to delete and rename file
    By ddatta8 in forum New To Java
    Replies: 0
    Last Post: 01-31-2009, 01:16 PM
  4. How to rename a file
    By Java Tip in forum java.io
    Replies: 0
    Last Post: 04-05-2008, 10:11 AM
  5. How to Rename a File
    By Ada in forum New To Java
    Replies: 1
    Last Post: 05-26-2007, 12:55 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •