Unique Motorsports

Tag: command

Fixing Multiple File Extentions Using the Rename Command

by Subachad on Sep.11, 2009, under Technology

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.

View Comments :, , , , , , 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,309
Unique
Visitors
Powered By Google Analytics