Help: Mass re-naming
Moderator: Edi
Help: Mass re-naming
I have a LARGE amont of files which all have the wrond extrntion (jpg instead of gif). Is there any way that I can re-name them to the correct extention without going to each individual one? I'm running Windows 2000.
- Enlightenment
- Moderator Emeritus
- Posts: 2404
- Joined: 2002-07-04 07:38pm
- Location: Annoying nationalist twits since 1990
<sigh> the kids of today....
Use the console.
Start->run->"CMD"
type CD at the prompt followed by a space, a backslash and the full path to the directory that contains the files you need to rename. If the path has spaces put the whole thing (including the backslash but not the space after CD) in double quotes.
now type ren *.jpg *.gif
All .jpg files in the directory will be renamed to .gif.
type 'exit' to close the console window.
Use the console.
Start->run->"CMD"
type CD at the prompt followed by a space, a backslash and the full path to the directory that contains the files you need to rename. If the path has spaces put the whole thing (including the backslash but not the space after CD) in double quotes.
now type ren *.jpg *.gif
All .jpg files in the directory will be renamed to .gif.
type 'exit' to close the console window.
It's not my place in life to make people happy. Don't talk to me unless you're prepared to watch me slaughter cows you hold sacred. Don't talk to me unless you're prepared to have your basic assumptions challenged. If you want bunnies in light, talk to someone else.
- Einhander Sn0m4n
- Insane Railgunner
- Posts: 18630
- Joined: 2002-10-01 05:51am
- Location: Louisiana... or Dagobah. You know, where Yoda lives.
Irfanview can get it done pretty quick. Just click on one of the files in question, and IV will pop a dialog saying "<File>.jpg is a .GIF file with incorrect extension! Rename?" Hit the Yes button, then use the mouse scroll to go to the next file. Lather, Rinse, Repeat.
- Darth Wong
- Sith Lord
- Posts: 70028
- Joined: 2002-07-03 12:25am
- Location: Toronto, Canada
- Contact:
Re: Help: Mass re-naming
Do they have the wrong extension, or are they actually the wrong filetype? If you're trying to convert them all from JPEG to GIF, simply changing the extensions won't work.Yogi wrote:I have a LARGE amont of files which all have the wrond extrntion (jpg instead of gif). Is there any way that I can re-name them to the correct extention without going to each individual one? I'm running Windows 2000.
"It's not evil for God to do it. Or for someone to do it at God's command."- Jonathan Boyd on baby-killing
"you guys are fascinated with the use of those "rules of logic" to the extent that you don't really want to discussus anything."- GC
"I do not believe Russian Roulette is a stupid act" - Embracer of Darkness
"Viagra commercials appear to save lives" - tharkûn on US health care.
http://www.stardestroyer.net/Mike/RantMode/Blurbs.html
"you guys are fascinated with the use of those "rules of logic" to the extent that you don't really want to discussus anything."- GC
"I do not believe Russian Roulette is a stupid act" - Embracer of Darkness
"Viagra commercials appear to save lives" - tharkûn on US health care.
http://www.stardestroyer.net/Mike/RantMode/Blurbs.html
- Einhander Sn0m4n
- Insane Railgunner
- Posts: 18630
- Joined: 2002-10-01 05:51am
- Location: Louisiana... or Dagobah. You know, where Yoda lives.
Re: Help: Mass re-naming
I think they're probly the wrong extension. M$Paint can be used to change the filetype; just open and save as whatever extension you want. Bad News. You have to do it one at a time. Bad News 2: MSPaint has a shitty JPEG/GIF Compressor.Darth Wong wrote:Do they have the wrong extension, or are they actually the wrong filetype? If you're trying to convert them all from JPEG to GIF, simply changing the extensions won't work.Yogi wrote:I have a LARGE amont of files which all have the wrond extrntion (jpg instead of gif). Is there any way that I can re-name them to the correct extention without going to each individual one? I'm running Windows 2000.
Re: Help: Mass re-naming
Wrong extention. No idea WHY they would be named with the wrong extention. Such are the hazards of downloading stuff over the internet.Darth Wong wrote:Do they have the wrong extension, or are they actually the wrong filetype? If you're trying to convert them all from JPEG to GIF, simply changing the extensions won't work.
BTW, the command line works fine. Thanks.
- Einhander Sn0m4n
- Insane Railgunner
- Posts: 18630
- Joined: 2002-10-01 05:51am
- Location: Louisiana... or Dagobah. You know, where Yoda lives.
Re: Help: Mass re-naming
Hmm Downloading Porn Pics from Kazaaa again? W00000000000000000T!!!Yogi wrote:Wrong extention. No idea WHY they would be named with the wrong extention. Such are the hazards of downloading stuff over the internet.Darth Wong wrote:Do they have the wrong extension, or are they actually the wrong filetype? If you're trying to convert them all from JPEG to GIF, simply changing the extensions won't work.
BTW, the command line works fine. Thanks.
Re: Help: Mass re-naming
Nope.Einhander Sn0m4n wrote:Hmm Downloading Porn Pics from Kazaaa again? W00000000000000000T!!!
Downloaded all of the Ranma 1/2 manga off of IRC. (That's a LOT of files to re-name!)