php editor Strawberry provides you with a detailed tutorial on how to modify file suffixes in batches. Changing file suffixes in batches on your computer can improve work efficiency and save time. Through simple steps, you can quickly modify the suffixes of multiple files in batches, making your work more convenient. This article will answer this common question for you and let you easily master the method. Welcome to read!
How to batch modify file extensions
1. To view or display the file extension, right-click the file and select "Properties" to view the file type.
2. Click "Start key - Control Panel - Folder Options" in the lower left corner, and then click "View".
Find and uncheck "Hide extensions for known folder types" and click Apply to directly display the file extension.
3. To modify the file extension, select the file directly, right-click and select "Rename" or hold down the "F2" key on the keyboard to modify.
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, and save the file after setting it.
At the same time, change this text file into a file with a ".bat" suffix. After setting it up, click to run the bat file just now, and you will see that all GIF files have become JPG files.
5. There are different types of files in the folder. You need to modify the suffix names in batches and create a new text document in the file.
Open the text document, enter "ren (space)*.* (space)*.gif", and save the file after setting it.
At the same time, change this text document to a file with a ".bat" suffix, and then click to run the file to modify all the suffixes.
6. If you want to batch modify the file name suffixes of different paths, first copy the path of the folder and create a new text document in any folder.
Open the document, enter "the path of the cd (space) file ren*.gif (space)*.jpg", and save the file after setting it.
Change the text file to a file with a ".bat" suffix, and then run the file to complete.
The above is the detailed content of How to modify file suffixes in batches? Specific tutorial on changing file suffixes in batches on a computer. For more information, please follow other related articles on the PHP Chinese website!