The name of a file on your Windows 7 computer consists of two parts. When you view files in Windows Explorer it displays only the first part, the file extension is hidden. The file extension is used to specify the file type and associate it with a program. Thus, Microsoft Word documents have the extension .doc or the new .docx.
File extensions are generally 3 or 4 characters long. Since these not displayed in Windows Explorer, users come to know of the file type by the file icon. Below is a screenshot of the music folder of my computer. Though most files are .mp3, there are some .mp4 songs too but there is no way to distinguish between the two, unless they were associated with different programs; say, MP3 files with Winamp music player and AAC (.m4a) with iTunes.
Since the extension associates the file with a particular program, changing it would cause problems in opening and/or viewing the file. For instance, replacing .mpg with .doc as the file extension will cause all sorts of trouble since Microsoft Word will not be able to open the video file. Microsoft understands this danger and has, thus, kept the file extensions hidden by default.
There are two methods you can use to change the file extension. The first one involves using the familiar Windows Explorer program and the second, the Command Prompt. The latter requires you to know a couple of DOS commands and would sound a little intimidating for the beginner.
Windows Explorer method of changing the file extension
You first need to get file extensions to show in Windows 7. This can quickly be done by changing the settings via the Control panel – please refer that link for details.
To change the file extension using Windows Explorer, click the file once, wait for a second or two and then click on it again. Only the first part of the file will be selected – refer image below.
But we need to modify the file extension, right? Thus, select that and change it to whatever you want.
Windows 7 might show a warning message (below) – ignore it and click the “OK” button.
Use DOS commands through the terminal window
Open a terminal window from “Programs” -> “Accessories” -> “Command Prompt“. Move to the folder that contains the file/s whose extension you want to change. Use the cd command to change directory. Type in the following command; you obviously need to substitute the file names (in the square brackets] with the one you have and the one you want.
ren [old file name] [new file name]
The DOS command for renaming a file is ren and with it you can give a new name to any file… not just a new extension. Too techie? Forget I ever told you about this and go with the Windows Explorer method described above.
The trend of receiving only one US dollar as annual salary was probably started by Apple's Steve Jobs. Founders of several popular tech companies - Larry Page, Sergey Brin, Mark Zuckerberg etc. - copied that idea and get only $1 per year as salary. [more...]