Change all file extensions in a Folder with the CMD command
Usually you change the file extension by Rename (F2 key), but this manual will be suitable for changing a small number of extensions. If the number of files to change a lot of you will take a lot of time if such manual operation. There is some software to help you change the file extension, but you need to learn and install it.
Instead of using supporting software, or changing the tail with F2 key, you just need to use the simple command in cmd to be able to change a series of files in the same Folder.
The following article will show you how to rename all file extensions in the same Folder.
Step 1: You open the window cmd.
You press Windows + R key combination and enter the keyword cmd in the Open box and then select OK (or press Enter ).
Or you open the Start Menu , enter the keyword cmd in the Search programs and files box, then select cmd.exe .
Step 2: In the cmd window , use the cd command to navigate to the directory you want to change the file extension.
For example: Enter cd desktop / TipsMake.vn and press Enter to move to the folder TipsMake.vn on Desktop .
Step 3: After appearing the path to the folder you want on cmd. To rename all the files in this directory, use the command Ren * .duoibandau * .duoimuondoi.
Where .duoibandau is the original file extension of the file, .duoimuondoi is the file extension you want to change.
For example: In the TipsMake.vn directory, all files have the .jpg extension as follows.
If you want to chase the file extension from jpg to the png file extension, enter the command Ren * .jpg * .png and press Enter .
As a result, all .jpg file extensions will be chased to .png .
So, with simple actions, you quickly rename all the file extensions in the same folder without the support of any software. Good luck!
You should read it
- Change any file or folder name in Windows
- How to change the file's attributes using the Attrib command
- How to Change a File Extension
- How to Change Directories in Command Prompt
- How to set up full file extensions display on a Mac
- How to change the folder in Command Prompt on Windows 10
- What is a folder The concept of a file (File) and a folder (Folder) in a computer
- How to Delete a File Using Command Prompt
May be interested
- How to open the virtual keyboard on Windowsnormally, you rarely pay attention to the virtual keyboard on the computer, but when your computer keyboard is broken or paralyzed, but you cannot replace it immediately, the virtual keyboard is the most effective help for you. .
- How to create EXE archive with Winrarwinrar is a very popular file compression and decompression program, used by a lot of people, but it only stops at compressing files, extracting files into rar or zip extensions. one of the pretty good features of winrar is compressing the file into a .exe format that helps
- Turn off the Administrator account in Windows 7windows 7 by default hides the administrator account for security. many people do not know how to activate this account to have full control of the computer. this article introduces you to 2 ways to turn on / off administrator windows 7 account.
- Replace the mouse cursor with funny picturesinstead of the default windows mouse cursor, you can create more funny and lovely mouse pointers that suit your taste and help create more interest in working with computers.
- Check the speed of reading, writing hard drive, USBguide to check the speed of reading and writing data of other storage devices such as usb, memory cards .. so that you can compare devices of the same type with crystaldiskmark.
- How to add software to the right-click menu Desktop Context Menuto avoid wasting time searching on the desktop if the desktop has too many icons. you can add those applications and software to the right-click menu in desktop to facilitate their use.