What is the file extension? What is the use? Easy to understand file extension explanation!

Time:2021-3-9

Link to the original text:https://xiaoheidiannao.com/articles/Extension-Name.html

catalog

introduce

effect

Common extensions

introduce

fileThe file name extension is also known asfileThe suffix of isoperating systemUsed to markfile typeIn Windows system, the extension can also telloperating systemWhat is the defaultSoftwareopenfile. In general, an extension is followed by the main file name, separated by a period. An extension can be considered metadata of a type.

As shown in the figure below, the fileputty.exeThe primary name of the file isputtyThe extension isexeThe middle is separated by a full stop

image

Different extensions display different icons, as shown in the figure below

image

If it is an icon with no extension or unrecognized extension, it is shown in the following figure

image

effect

In fact, there is no problem without an extension, but it is recommended to use an extension, because the extension can not only make theoperating systemKnow what to useSoftwareopenfileWhat’s more, it can let users see what kind of it is at a glancefileOf course, the extension can also be changed at will, or even removed, but this will lead tooperating systemI don’t know what to dofileOr identify the error, you can also manually specifySoftwareopenfile.

As shown in the figure below, there is one calledSmall black computer.txtText offile

image

Check thefile, and then pressF2Rename the file and add the followingtxtRemove the extension and pressEnterKey to confirm the rename, the system will prompt that changing the extension may causefileNot available, ignore it and selectyesOK to rename

image

After renaming, you can see that nothing is displayed in the preview window on the right because there is no extension,operating systemI don’t know what to useSoftwareOpen thefileSo there is no preview

image

Of course, if the extension is changed to the wrong type, for exampletxtChange toxlsIn the preview panel, you can see the preview error, because the extension isxlsOffileThe system will use it by defaultExcelIt’s open, but actually it’s openfileIs text type, withExcelIf you open it, something will go wrong

image

As shown in the figure below,mouseDouble click to use defaultSoftware(Excel)When it is opened, there will be an error and promptFile format and extension do not match.

image

Of course, if you useNotepadIf it is opened, it can be opened correctlySmall black computer.xlsfile, and then pressShift+F10(equivalent tomouseRight click to selectOpening mode(pressHperhapsmouseClick on it)

image

As shown in the figure below, because the extension isxls, the system will select by defaultExcelOpen forfileBut we want to useNotepadOpen, so chooseMore applications

image

choiceNotepadThen pressEnterkey

image

You can use itNotepadopenfileSmall black computer.xlsYou can see that it opens normally, as shown in the figure below

image

Summary: Extensions let the operating system know what to use by defaultSoftwareopenfileIf you change one extension to anotheroperating systemRecognized extension, thenoperating systemThe extension is opened by defaultSoftwareOpen, which may lead to incorrect openingfileIf it is changed to an unrecognized extension (such as. 111,. ABC, etc.) or has no extension, the user will choose to open itfileOfSoftwareAlthough the extension can be modified at will, it is not recommended to modify the extension. If you want to change from one extension to another, you can use format conversionSoftwareOr order

Common extensions

Generally seenExtensionYou can seefile typeThe following table is commonfile typeCorresponding common extensions:

file type Extension
Executable file exe,bat,com,cpl,vbs,cmd
audio frequency mp3,ogg,wav
picture bmp,gif,jpeg,png
video mp4,avi,mov,flv
Excel xls,xlsx
slide ppt,pptx
Word doc,docx
text txt

What is the file extension? What is the use? Easy to understand file extension explanation!

WeChat official account: small sea computer

Recommended Today

Review of SQL Sever basic command

catalogue preface Installation of virtual machine Commands and operations Basic command syntax Case sensitive SQL keyword and function name Column and Index Names alias Too long to see? Space Database connection Connection of SSMS Connection of command line Database operation establish delete constraint integrity constraint Common constraints NOT NULL UNIQUE PRIMARY KEY FOREIGN KEY DEFAULT […]