Usually we modify or add the suffix name of a single file by right-clicking —— rename on the file, but if we need to modify the suffix name of multiple files, this is obviously too cumbersome. At this time, try the Windows ren (rename) command, which is simple and easy to remember. If you have the opportunity to show your hand in front of your friends, the silk will instantly become a technical emperor.
The Ren command can be used to modify the name of a file, including the suffix name. For example, to rename the 1.jpg in the D drive to 2.png, just type the following command at the command prompt and press Enter.
Copy the code
The code is as follows: ren D:\\1.jpg 2.png
Note, if the prompt permission is insufficient, then you need to be an administrator. Run a command prompt.
If you want to modify the suffix name in bulk, you can use wildcards to achieve. For example, the command to change the suffix name of all files in the D drive to jpg is:
Copy the code
The code is as follows: ren D:\\* *.png
If you only want to modify one type of file (with the same suffix name) to another type, for example, change all jpg file suffixes in the D drive to png, the command is:
< u>Copy the code
The code is as follows: ren D:\\*.jpg *.png
If you often need to modify the suffix in batches, you can copy the following two commands into the txt text file:
Copy the code
The code is as follows: cd /d %~dp0</p><p>ren * *.jpg
Save the suffix txt after saving For bat. In the future, you only need to put the bat file and the file to be modified into the same directory, and then run the bat file as an administrator to change the file suffix name in the directory to jpg. As shown below:
Forbes technology columnist Gordon · Kelly wrote that Windows 10 is not really free, there ar
How to uninstall IE browser in Win10 system? In the Win10 system, since the new Edge browser has bee
We just reported for everyone that the Windows 10 preview version of Build 10159 has begun to push.
Although the control panel of Windows 10 Preview is inconspicuous, many operations involve it, such
Japanese Win10 Mother officially named Chuang Dao 17-year-old cross Meng girl (Figure)
What should I do if the Win10 system KMS Pony Activation Tool homepage is hijacked or locked?
How to customize the mouse pointer under Win8 system to make it more personalized
Win10 notification bar shows which icon settings tutorial
Win7/Win8.1/Win10 command line configuration static IP address method
How to increase the speed of opening IE browser under win7 system
How to hide the CD-ROM drive when WinXP is used again
Win10 preview version how to upgrade win10 official version Automatic upgrade win10 tutorial
How does Win8 set the system font size to make the display text bigger
Win7 system installation game prompt software is not compatible how to solve?
Thunder and Thunder tool use teaching
In the absence of a TV card, the Internet TV is still recorded
MyEclipse Database: Filtering Database Patterns
Remove boot and press F1 to enter _ latest xp system
Win XP system network function optimization skills
Have you noticed the Windows XP read-ahead settings?
Microsoft will welcome the "Member Center" return to the next Win10 Mobile preview