In windows, the characters after the dot in a filename give you a clue what the file contains: e.g. something.html contains HTML (Hypertext Markup Language), *.txt is simple text, *.exe is an executable, *.java is Java source. Each of these extension is associated with a MIME (Multipurpose Internet Mail Extensions) type which is a long winded way of saying the same thing. You can associate given extensions with certain apps so that when you double click a file the corresponding program that knows how to deal with that file type is automatically launched with that file.
File offers no built-in way to get the extension or the filename without extension. Here is how you do it:
This page is posted |
http://mindprod.com/jgloss/extension.html | |
Optional Replicator mirror
|
J:\mindprod\jgloss\extension.html | |
Please read the feedback from other visitors,
or send your own feedback about the site. Contact Roedy. Please feel free to link to this page without explicit permission. | ||
Canadian
Mind
Products
IP:[65.110.21.43] Your face IP:[3.149.231.52] |
| |
Feedback |
You are visitor number | |