create directory Rename/move file from header info?

Discussion in 'C Programming' started by cliffyg, Mar 6, 2008.

  1. cliffyg

    cliffyg

    Joined:
    Mar 6, 2008
    Messages:
    2
    Likes Received:
    0
    am trying to rename some files (mp3) using the file header structure
    I utilize findfirst and then use ff.name to get name and then parse the string up to the "-".
    from this i create a new directory (mk
    how do i now move (rename) the file to the new directory ?


    include is dir.h to get header info

    Or am i off base on my approach?

    Thank you!!
     
    cliffyg, Mar 6, 2008
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Matt MacDonald
    Replies:
    0
    Views:
    516
    Matt MacDonald
    Jan 30, 2008
  2. shapper

    Rename and Move File

    shapper, Feb 12, 2008, in forum: ASP .Net
    Replies:
    1
    Views:
    524
    Misbah Arefin
    Feb 12, 2008
  3. cliffyg

    rename from file header using findfirst

    cliffyg, Mar 6, 2008, in forum: C Programming
    Replies:
    0
    Views:
    441
    cliffyg
    Mar 6, 2008
  4. mike
    Replies:
    2
    Views:
    606
    Roedy Green
    Mar 15, 2008
  5. mlt
    Replies:
    2
    Views:
    1,153
    Jean-Marc Bourguet
    Jan 31, 2009
  6. Mmcolli00 Mom
    Replies:
    1
    Views:
    283
    Reid Thompson
    Dec 12, 2008
  7. Mrmaster Mrmaster

    Which is more expensive Rename or Move?

    Mrmaster Mrmaster, Jun 16, 2009, in forum: Ruby
    Replies:
    8
    Views:
    269
    Matthew K. Williams
    Jun 17, 2009
  8. kwalike57
    Replies:
    6
    Views:
    419
    Tad J McClellan
    Jan 10, 2008
Loading...