Go Back  DVD Talk Forum > General Discussions > Tech Talk
Reload this Page >

Is there a way to batch rename a bunch of file extensions?

Tech Talk Discuss PC Hardware, Software, Internet and Other Technology

Is there a way to batch rename a bunch of file extensions?

Old 07-31-08, 01:24 PM
  #1  
DVD Talk Legend
Thread Starter
 
GatorDeb's Avatar
 
Join Date: Mar 2001
Location: The "Real" Vice City
Posts: 16,792
Received 43 Likes on 35 Posts
Is there a way to batch rename a bunch of file extensions?

I have a folder with a bunch of files. Is there any way to change the extension of all of them with one command? (they all will have the same extension, not different ones). Thanks!
Old 07-31-08, 01:26 PM
  #2  
DVD Talk Hero
 
pinata242's Avatar
 
Join Date: Jun 2003
Location: Owasso, OK
Posts: 30,154
Likes: 0
Received 2 Likes on 2 Posts
Try this:

ren *.ext1 *.ext2
Old 07-31-08, 01:28 PM
  #3  
DVD Talk Legend
Thread Starter
 
GatorDeb's Avatar
 
Join Date: Mar 2001
Location: The "Real" Vice City
Posts: 16,792
Received 43 Likes on 35 Posts
What if they don't have an extension?

Holy crap, ren * *.ext worked!! Thanks!
Old 07-31-08, 01:28 PM
  #4  
DVD Talk Hero
 
pinata242's Avatar
 
Join Date: Jun 2003
Location: Owasso, OK
Posts: 30,154
Likes: 0
Received 2 Likes on 2 Posts
Maybe:

ren *. *.ext2
Old 07-31-08, 01:30 PM
  #5  
DVD Talk Legend
Thread Starter
 
GatorDeb's Avatar
 
Join Date: Mar 2001
Location: The "Real" Vice City
Posts: 16,792
Received 43 Likes on 35 Posts
ren * *.ext worked, thanks !

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Thread Tools
Search this Thread

Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service - Do Not Sell My Personal Information -

Copyright 2021 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.