Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Rockoar

macrumors regular
Original poster
Mar 8, 2012
194
10
I would like to know if its mandatory to leave the file extensions on a file name when using a Mac runing OS X Mountain Lion. It's kind of a stupid question maybe but I'm kinda new to the Mac environment and I'm not really sure about how to handle this. Some files I created with MS Office for Mac have the ".docx" extension at the end of the name ("exemple.docx") but others don't have it, yet they open without problems. Can I erase the extension name or would I later have problems if I do so? Would this affect a file if transferred to a PC? Thanks in advance for your insight on this.
 

switon

macrumors 6502a
Sep 10, 2012
636
1
RE file extensions...

Hi Rockoar,

Personally, I would leave the file extensions on the files as they are created. The extensions make it easier for other apps to recognize what type of file a particular file is, although this information is also stored elsewhere, some apps do not use the alternative.

You can set your Finder windows to not show the extensions (in the Finder Preferences pane) so that you will not see the extensions in Finder windows even when they are there.

Regards,
Switon
 
Last edited:

wrldwzrd89

macrumors G5
Jun 6, 2003
12,110
77
Solon, OH
I would like to know if its mandatory to leave the file extensions on a file name when using a Mac runing OS X Mountain Lion. It's kind of a stupid question maybe but I'm kinda new to the Mac environment and I'm not really sure about how to handle this. Some files I created with MS Office for Mac have the ".docx" extension at the end of the name ("exemple.docx") but others don't have it, yet they open without problems. Can I erase the extension name or would I later have problems if I do so? Would this affect a file if transferred to a PC? Thanks in advance for your insight on this.
OS X does not strictly depend on file extensions, but does encourage their use, mostly for Windows compatibility, which DOES rely on extensions. If you're curious, OSX has at least 4 systems for determining what type a given file is: UNIX-style magic numbers, file extensions, Universal Type Identifiers (UTIs), and the legacy file type / creator codes.
 

Rockoar

macrumors regular
Original poster
Mar 8, 2012
194
10
Thanks for both your clarifications! I'll leave them there then :)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.