Ask OS X Daily: How Do I Force Open a File on Mac?
Reader Mathew Prairen asks a common question about forcibly opening files with an application on the Mac, and it has a remarkably simple answer:
“I have a few documents and files from my PC that Pages refuses to open, is there any way I can force Pages to open these files?”
As a matter of fact, yes, you can force any application to attempt to load just about any file. If you want to force open a file like this, you simply hold down the Command+Option keys while dragging the file to force onto the applications icon as stored in the Dock. Ideally, you’ll have launched the application already before trying this.
Whatever the application is will attempt to open whatever the file is. In some situations this will work just fine, forcing many image editors to open other image files generally works, as does text files into text editors, and word and text documents into a general text editor or page application, but attempting to force an image editor to load your perl script probably won’t work – at least in the way you expect it to.
Basically there is no guarantee the program will like the file you are forcing it to open, but the application and OS X will try anyway, and this can lead to some unusual results or the display of nonsensical characters, or even an error message indicating from the application that the file type is invalid. Due to this, if you’re going to attempt to force an application to open a file, try to stick within the general genre of that which the originating file came from.
Updated: 6/24/2014 – this is confirmed to work with Mac OS X 10.7 Lion, 10.9, and OS X Mavericks, Yosemite