Unique Motorsports

Tag: rename

Fixing Multiple File Extentions Using the Rename Command

by on Sep.11, 2009, under Automotive

Recently I ran across an issue where the file extension was missing on quite a few files. While right clicking on the file and renaming it is not so bad, doing that 47 times couldĀ  be quite time consuming. The command line “RENAME” came in to save the day.

1. I copied the files I needed to change into a new folder on the C drive.

2. start / run “cmd” to pull up a command prompt

3. cd c:\rename

4. rename * *.jpg

5. Copied rename files back into the original folder overwriting the files which needed to be changed.

RENAME [drive:][path]filename1 filename2.
REN [drive:][path]filename1 filename2.

RENAME [drive:][path]filename1 filename2.
REN [drive:][path]filename1 filename2.

Leave a Comment :, , , , , , more...

Looking for something?

Use the form below to search the site:

Custom Search

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

30 Day Site Stats


1,318
Unique
Visitors
Powered By Google Analytics