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.

Change all file extensions in a Folder with the CMD command Picture 1

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 ).

Change all file extensions in a Folder with the CMD command Picture 2

Or you open the Start Menu , enter the keyword cmd in the Search programs and files box, then select cmd.exe .

Change all file extensions in a Folder with the CMD command Picture 3

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 .

Change all file extensions in a Folder with the CMD command Picture 4

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.

Change all file extensions in a Folder with the CMD command Picture 5

If you want to chase the file extension from jpg to the png file extension, enter the command Ren * .jpg * .png and press Enter .

Change all file extensions in a Folder with the CMD command Picture 6

As a result, all .jpg file extensions will be chased to .png .

Change all file extensions in a Folder with the CMD command Picture 7

So, with simple actions, you quickly rename all the file extensions in the same folder without the support of any software. Good luck!

4.5 ★ | 2 Vote

May be interested

  • How to open the virtual keyboard on WindowsPhoto of How to open the virtual keyboard on Windows
    normally, 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 WinrarPhoto of How to create EXE archive with Winrar
    winrar 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 7Photo of Turn off the Administrator account in Windows 7
    windows 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 picturesPhoto of Replace the mouse cursor with funny pictures
    instead 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, USBPhoto of Check the speed of reading, writing hard drive, USB
    guide 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 MenuPhoto of How to add software to the right-click menu Desktop Context Menu
    to 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.