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.這就是您所需要的一個免費的應用程序,可以批量更改文件的擴展名。
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博士…讓( “博士”作為一個縮寫為驅動器則超過1期)將有困難。
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傑里