Home > Computer Tutorials > System Installation > Modify file suffixes in batches

Modify file suffixes in batches

王林
Release: 2024-02-05 09:18:07
forward
1510 people have browsed it

When we use computer files, we often need to change the file suffix. Many friends know how to modify the suffix for a single file, but they do not know how to modify the suffix in batches. The editor below will bring you a tutorial on batch modification of file suffix names. Hope it helps those in need.

Operation method

1. View or display the file suffix name. Method 1: Right-click the file and select "Properties" to view the file type.

Modify file suffixes in batches

2. Click "Start - Control Panel - Folder Options" in the lower left corner, then click "View",

Find "Hide Known Uncheck "Folder type extension" and click Apply to directly display the file extension

Modify file suffixes in batches

3. Modify the file extension, select the file directly, and right-click to select "Rename" or hold down the "F2" key on the keyboard to modify.

Modify file suffixes in batches

4. If you want to batch modify GIF files into JPG files, right-click to create a new "Text Document" in the folder that needs to be modified,

After opening the text document, enter the content of "ren(space)*.gif(space)*.jpg" in it. After setting, save the file.

At the same time, change this text file to the ".bat" suffix name file, after setting it up, click to run the bat file just now, and you can see that the GIF files have all turned into JPG files.

Modify file suffixes in batches

5. There are different types of files in the folder. You need to modify the suffix names in batches. Create a new text document in the file and

open the text. Document, enter "ren(space)*.*(space)*.gif", save the file after setting,

At the same time, change this text document to a file with the ".bat" suffix name, and then click Run You can modify all the suffix names of this file.

Modify file suffixes in batches

6. If you want to modify the file name suffixes of different paths in batches, first copy the path of the folder and create a new text document in any folder,

Open the document, enter "cd (space) file path ren*.gif (space)*.jpg", save the file after setting,

Change the text file to the ".bat" suffix file and then run the file to complete.

Modify file suffixes in batches

The above is the detailed content of Modify file suffixes in batches. For more information, please follow other related articles on the PHP Chinese website!

source:53xt.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template