Tools/raw Materials
Notepad computer
One. View the display file name extension
Now that you want to modify the file suffix name, we should first look at the file extension. (already known directly to see the part of the back batch modification)
Method 1. You can view the file type directly by selecting the file properties.
Method 2 If you want to display the file suffix name directly, follow these steps as shown below.
Let's take XP for example, find the start---Control Panel-Folder Options
3, click to view-Find the "Hide known folder type extension" before the hook removed and then applied
Two. modify file suffix name extension (manual modification)
Can see the file suffix name, if you want to modify the file suffix name, the extension is very simple
Directly select the file and right-click to rename it. or press and hold the keyboard "F2" key to make changes.
This is for when the operation of a file, batch modification look behind
Third: Batch modification file name extension--Case 1
Copy the file you want to change the extension to a folder, as shown below
Case 1, just modify a specific suffix name file. (GIF----JPG)
The following figure: I just want to modify the file suffix name of the GIF file is converted to JPG
Operation Steps:
1. Under the current folder, create a new Notepad file. The following figure
3 Open the new Notepad file and enter Ren *.gif *.jpg below, as shown below
Input format ren empty Gossing number points need to modify the file suffix name empty Gossing number points need to be changed to the file suffix name
Perhaps someone can not understand, then I briefly explain it. The following figure. (Note: There is an English space before *)
3 after setting, save the file. At the same time, this file is changed to a. bat suffix name file (this is very important) as shown below. In order to remember, I changed to batch modify file suffix name. bat.
4 Set up, click to run just that bat file is good. Look at the GIF file format now.
5 Double-click just that file, see no, file all become jpg suffix name, how is it simple?
There must be someone to ask, if I need to change all the files in batches? If there is no suffix name file, how do I add a suffix name? Very simple, the following small series on the introduction of a few cases
Case 2, Batch modification of file name extension suffix names
This is about modifying only a certain type of suffix name, so what if all the types of files under my entire folder have to be modified? The following figure what kind of files are there?
In fact, it is also very simple, only need to modify a parameter is good. The following figure
Find the bat file just now, right-click Edit-or open it with Notepad. (Note: There is an English space before *
Change the command to Ren *.* *.gif format ren space star dot star dot file suffix name
Run again and you'll find all the files underneath the folder turned into GIF files. Is it simple?
Case 3. How to bulk modify file suffix names for different paths
Perhaps you will ask, this is so convenient can I keep it, just need to know how to modify the path of the folder can be modified? Of course
For example, you want to modify the C:documents andsettingsadministrator Desktop batch modify file suffix name in this folder file, you can create a new bat file on any folder. Enter the contents below
is just that 2 kinds of cases, before adding a CD space behind the folder path
How do you get this path? The open folder is on the top of the address bar.
If you want to modify the later only need to be in that file, edit and modify the path behind the CD that is good, how is it easy?
Attention matters
BAT format file, is a Windows batch file. If you have time, you can have a chance to learn more, can bring you a lot of convenience
Small series of reminders, the above provided the batch modification file suffix name only for the modification, file each suffix name represents a different file type, if the different types of files directly modify the suffix name may cause the file can not open or incompatible problems.