Sometimes changing file extensions helps fool the system to pass restricted file formats. Like, G mail does not support.exe attachments. Instead of putting.exe files in.zip or.rar, you can change the extension to.exe1 or anything else and send it through G mail.
Steps to Change File Extensions with Command prompt
- File name extensions can be considered a type of metadata. It is a substring that occurs after the dot character of any digital file.
- Press the Windows Key + C button to go to the Windows Charms Bar-> Go to Search Apps-> type “cmd” The search result will be shown in the left pane.
- Right-click it and select Run as Administrator to open the command prompt as Administrator. You may be notified to the UAC. To confirm, click “Yes.”
- Type the address of the directory where the file is located in the command prompt. E.g., if your destination drive is E, then type E: in the prompt and press Enter.
- Type in the following command
ren filename.extension newfilename.newextension
Filename means your current filename, extension is the current file extension, newfilename is the new name assigned instead of the old name that is optional, new extension is the new file extension.
Make sure to make blank spaces available.