How to batch change file extensions for Windows files如何批量更改文件的扩展名的Windows档案
Posted on February 28, 2008 at 7:07 am张贴于2008年2月28日在上午07时07分
Recently, I came across a problem where I had to change the file extension on a bunch of Windows files from no extension to .JPG.最近,我碰到的一个问题,我不得不改变文件扩展对一群Windows文件从不会延长。 JPG格式。 Someone sent me a large number of files, but for some strange reason, they had no file extension, even though they were images!有人给我发了大量的档案,但为一些奇怪的原因,他们没有文件扩展名,即使他们的图片! Once I added the .JPG extension to the end of the file, I was able to open the images.有一次我补充说。 jpg扩展到去年底,该文件,我是能够打开的图像。
There are many other reasons why you may need to rename file extensions , so I’ll show you how you can change them one at a time if you have a small number of files or batch rename file extensions if you have lots of files.还有很多其他的原因,您可能需要重新命名的文件扩展名 ,所以我会告诉您如何您可以更改他们一在一个时间如果您有一个小的数目或批处理文件重新命名的文件扩展名如果您有大量的档案。
If you’ve gotten an email with an attachment with no file extension, the file may look like this and when you try to open it, may ask you to choose from a list of programs:如果您已经得到了一封电子邮件,附件没有文件扩展名,该文件可能看起来就像这样和当您尝试打开它,可能会要求您选择从列表中的程序:
Obviously, since there is no file extension for the file, Windows is not able to determine which program should open it.很明显,因为没有文件扩展名的文件, Windows是无法确定哪个程序应该打开它。 If you want to change the file extension for the file , you first need to be able to see file extensions in Windows.如果您想改变的文件扩展名的文件 ,您首先需要能够看到文件扩展名在Windows 。 You can do this by going to My Computer and then going to Tools and Folder Options .你可以做到这一点,去我的电脑,然后去工具和文件夹选项 。
Go to the View tab and scroll down till you see the option “ Hide extensions for known file types “.去查看选项卡和向下滚动,直到你看到的选项“ 隐藏已知文件类型的扩展 ” 。 Go ahead and uncheck it.要大胆向前并且取消选中它。
If the file has no extension at all, this step may not be necessary, but I am including it because if you’re trying to CHANGE the file type from one type to another, then you need to do this.如果该文件没有扩展在所有,这一步可能没有必要,但我包括资讯科技,因为如果您要改变的文件类型,从一类到另一个,那么你就需要这样做。 Now right-click on your file and choose Rename .现在右键点击您的档案,并选择重命名 。
Move to the end of the name and type in .XXX or whatever the type is for the file you want it to be, ie .TXT for text files, .XLS for Excel files, etc. Obviously, the file has to have originally been from that program that you are changing the file extension too.移动到年底的名称和类型在XXX计划或什么类型是该文件您希望它,即为。 txt文本文件, 。的xls为Excel文件等,显然,该文件必须有原本从这个程序,您正在改变文件扩展名。 In my case, the text file was from Excel and I removed the file extension, now I’ll add it back.在我的情况下,文本文件是从Excel ,我删除的文件扩展名,现在我将它添加回。
How to batch rename file extensions如何批量重命名文件扩展名
So how do you rename multiple file extensions at once?因此,你如何重新命名多个文件扩展名在一次? If you have a directory full of files that need to be changed from .PNG to .JPG, it’s going to take forever to do this using the method above.如果您有一个目录的全部文件需要改变。巴纽。 JPG格式,它的会采取永远为此使用上述方法。 That’s where you need a freeware application that can batch change file extensions for you.这地方需要的免费应用可以的Batch Change文件扩展给你。
Extension Renamer 延长renamer is a simple to use, freeware program that I have tested and contains no spyware, etc. Once you install it, it’sa piece of cake to change file extensions!是一个简单的使用,免费程序,我已测试,并包含任何间谍软体,等一旦你安装它,这是一块蛋糕,要改变文件扩展名!
First, click Select Directory and choose the directory that contains all of the files that you want to modify.首先,按一下选择目录,并选择目录包含所有的档案,您要修改的。 You have the option of including subdirectories also.您可以选择,包括子目录也。 Then you search for files with particular file extensions that you want to change.然后你要搜索的文件,特别是文件扩展您要更改的。 The *.* means that it will change ALL files to the new extension.该*.*意味着它会改变所有文件到新的延伸。
You can type in your the extension you want to change, such as .TXT in the From box along with an asterisk (*) or question mark (?) to help filter down the files.您可以键入在您的延长您想要变更,如为。 txt ,在从框中随着星号( * )或问号( ? ) ,以帮助筛选下来档案 Click Search and the files that will be changed show up in the left box.单击搜索和文件将改为显示在左框中。 Once you are satisfied, go ahead and click GO!一旦你感到满意,请继续,并单击Go ! Now all of your files will have their extensions renamed.现在您所有的文件将具有其改名为扩展。
And that’s it!就是这样! Any questions, post a comment!任何问题,张贴评论! Enjoy!享受!
[tag]changing file extensions, change file extension, rename file extensions, batch rename file extensions, mass rename file extensions[/tags] [标签]改变文件扩展名,改变文件扩展名,重命名文件扩展名,批量重命名文件扩展名,大规模重命名的文件扩展名[ /标签]
If you enjoyed this post, make sure you 如果您喜欢这个职位,请务必 subscribe to my RSS feed 订阅我的RSS馈送 ! !
» Filed Under »提交下 Computer Tips电脑提示
Related Posts相关文章
- How to read and open .DAT files in Windows如何阅读和公开的。 DAT文件在Windows
- How to change file icons in Windows如何改变文件图标在Windows
- How to print a list of files in a Windows directory如何打印的文件的列表,在Windows目录
- How to hide files and folders in Windows XP - The easy way如何隐藏文件和文件夹在Windows XP中-简单的方法
- How to resize video files for YouTube for free如何调整视频文件的YouTube为免费

























I try to use it but when I click GO, I get a runtime error.我试着使用它但当我点击进入,我碰到一个运行时错误。 That’sa shame, it could be a really good tool. that'sa耻辱,这可能是真的好工具,
Danny, what runtime error do you get with the program?丹尼,什么运行时错误,你得到与计划吗? Also, what OS version are you running?同时, OS版本,你运行?
Thanks谢谢
There’s an easier way (in Vista):有更简单的方式(在Vista ) :
Shift-right-click in the folder containing the files to be renamed移右键单击该文件夹中含有文件将改名
Click on “Open Command Window Here”点击“打开命令窗口在这里”
In the Command Window, type the DOS command for file renaming, as applicable: ie: ren *.jpg (to set the extension for all files in that directory to “jpg”)在命令窗口中,键入DOS命令的文件重新命名,作为适用:即:任*. JPG格式(设置扩展目录中的所有文件目录“的JPG ” )
found your site today and downloaded the program.发现您的网站今天和下载的程式。
Works GREAT with some limitations工程的伟大与一些局限性
at least in my aapplication)至少在我aapplication )
We had to change 5879 files from a printmaster “let” xtension to a “sig” xtension我们不得不改变5879档案从printmaster “让” xtension一个“ SIG的” xtension
it would only do 39-43 changes at a time,and in the “from” box…once it would change the number of extensions that it did…you would have to change back the origional extension that you were trying to change… ctrl+v is good.它只会39-43变化,在一个时间,并且在“从”框…一旦它会改变许多扩展,它… …你将不得不改变回到原来的延长你试图改变…按Ctrl + V是好的。 Furthermore lets say someone wrote the file name as:此外,让说,有人写的档案名称为:
j comelately.let (printmaster file) it would confuse the renamer and it would rename it: j comelately.let ( printmaster档案) ,它会混淆renamer ,它将它重新命名为:
j.let (I’m assuming because of the space between the j.let (我假设,因为之间的空间
j and “comelately”. J和“ comelately ” 。
Further if there is to many periods at the end of the name (ie)jcomelately dr…let (”dr” as an abbreviation for drive then more than one period) it would have difficulties.进一步,如果有很多期在去年底的名称( IE )的jcomelately博士…让( “博士”作为一个驱动器的缩写,然后多于一个时期) ,将有困难。
in a perfect scenerio i think this is a wonderful program.在一个完美的scenerio我认为这是一个美好的计划。
M米
Hi!嗨! to all expert!所有专家!
I have question in renaming files ie word or excel.我有问题,重命名文件即Word或Excel 。
I usually do like this “right click” the mouse and choose rename… and then type a new file name without adding the extension file ie “.doc” for word and “.xls” for excel.我通常会做这样的“右键点击”鼠标和选择重命名…然后键入一个新的文件名没有加入扩展文件,即“ 。文件”字和“ 。的xls ” Excel中。 And yet, everytime I rename a file I am prompted error such as “IF YOU CHANGE A FILE NAME EXTENSION THE FILE MAY BECOME UNUSABLE.然而,每次重命名文件,我提示错误,例如: “如果你改变一个文件扩展名的文件有可能成为无法使用。 ARE YOU SURE YOU WANT TO CHANGE IT?” Yes or No!您确定要改变它呢? “是或否!
I opted YES!我选择是的! then it changed different icon on my file(unrecognized icon) and certainly unusable as I could not open the file and says CORRUPT!然后,它改变了不同的图标在我的文件(无法辨识的图标) ,当然也无法使用,正如我无法打开该文件说,腐败! when I rename it adding the extension file it works!当我将它重新命名,加入扩展文件,它的工程! ie the new file name in excel is Monthly Report so I have to type Monthly Report.xls - it works this way.即新的档案名称在Excel中是月度报告,所以我必须输入每月report.xls -它这样做。 BUT previously you don’t need to add the extension file and it will autoadd/fill when you save the file.但以前,您不需要添加扩展名文件,并会autoadd /填补当您保存文件。
Does anyone has an idea?有没有人有一个主意呢? I am using Windows XP Professional (OS), and MsOffice 2003.我使用Windows XP Professional ( OS )的,和msoffice 2003年。 The same problem with my PC at home with OS Windows Vista Ultimate and 2003 MSoffice.同样的问题与我家中有个人电脑操作系统与Windows Vista旗舰版和2003年msoffice 。
Any advise is very appreciated.任何意见是非常赞赏。
Jerry杰里