How can I change the extensions of 200 files without doing each one manually?

Discussion in 'OT Technology' started by quickone, Sep 28, 2005.

  1. quickone

    quickone New Member

    Joined:
    Sep 15, 2004
    Messages:
    4,179
    Likes Received:
    0
    I have about 200 files where the extension needs to be changed to something else...how can I change them all at once instead of manually going to each file...right click...rename...and the extension. That seems far too tedius to me...im thinking there has to be an easier way...am I right?:noes:
     
  2. mastaofmurda

    mastaofmurda Guest

  3. quickone

    quickone New Member

    Joined:
    Sep 15, 2004
    Messages:
    4,179
    Likes Received:
    0
  4. Peyomp

    Peyomp New Member

    Joined:
    Jan 11, 2002
    Messages:
    14,017
    Likes Received:
    0
    Sounds like a job for perl.
     
  5. quickone

    quickone New Member

    Joined:
    Sep 15, 2004
    Messages:
    4,179
    Likes Received:
    0
    damn...I got 230 files and I don't want to manually do each one:hs:
     
  6. quickone

    quickone New Member

    Joined:
    Sep 15, 2004
    Messages:
    4,179
    Likes Received:
    0
    cool thanks...i'll check it out...if anyone has a direct link to a good working one...let me know

    Thanks guys...I think i got it to work
     
    Last edited: Sep 28, 2005
  7. georgexi

    georgexi o.O OT Supporter

    Joined:
    Jul 13, 2005
    Messages:
    5,206
    Likes Received:
    0
    Location:
    PA
    are you trying to rename all the files of one extension in a folder to a different extension?

    ie: rename all ".html" files on "c:\web" to ".htm" extension...

    open a dos prompt:
    cd web
    ren *.html *.htm
     
  8. tony

    tony Guest

  9. Joe_Cool

    Joe_Cool Never trust a woman or a government. Moderator

    Joined:
    Jun 30, 2003
    Messages:
    299,296
    Likes Received:
    560
    What OS?
     
  10. col_panic

    col_panic calm like a bomb Moderator

    Joined:
    Sep 19, 2003
    Messages:
    188,160
    Likes Received:
    0
    Location:
    winter haven, fl
    qft
     
  11. dijital

    dijital New Member

    Joined:
    Jan 23, 2005
    Messages:
    1,896
    Likes Received:
    0
    Location:
    Nor Cal
    qft

    couldnt have said it any better myself.
     

Share This Page