• Updated 2023-07-12: Hello, Guest! Welcome back, and be sure to check out this follow-up post about our outage a week or so ago.

Missing file association for certain files/apps

Brett B.

Well-known member
I have been having a recurring problem for quite a while and was wondering if I should just deal with it, or if there is actually a fix.

Basically, my problem is that certain files "lose" their association to the application that would normally open them - for example, I have some disk images that were created with Disk Copy - and they have a generic, blank page icon. Other disk image files are completely normal. Most files that this happens to continue to open normally, but others - .sit StuffIt files, for example, either won't unstuff at all, or ask repeatedly what program should be associated when I try to open them.

I also have an occasional issue where certain applications, the Chooser in particular, lose their custom icon, but continue to work fine.

This is not contained to any specific computer, and I have noticed it when using any operating system between 8.1 and 9.2.2. Have not seen it in system 7 (yet.)

I have tried rebuilding the desktop file. No change.

Thoughts?

 

Charlieman

Well-known member
Do the files "lose" association (ie behavioural change), or are they ones that you have downloaded from the internet? When you download a file from the internet, the default behaviour of Mac OS is to treat it as a random binary file, unless you (or the application that you used for download) modify it.

PC Exchange (or any Mac utility that reads DOS physical media) looks at the filename extension and assigns it a Mac file type. If your file is called twaddle.rtf, the Mac OS will try to find an application that can read an RTF file to open the file.

In the early 1990s, independent developers conceived Internet Config (IC) for the Mac. When you downloaded a file from the internet, IC used the same tricks as PC Exchange to give it a Mac file type. IC has a control panel to configure file associations. Internet app developers worked with the IC team and eventually it became an Apple standard. The control panel in OS 9.x that assigns file associations is a daughter of IC -- and early versions of IC work on System 6.

To have file association on a Mac, you need to be running an INIT that handles internet downloads (IC or its successors) and a disk handler such as PC Exchange. A disk handler will convert filename extensions into useful associations if you insert a floppy disk or CD or Zip. If you are lucky a disk handler will cope with DOS files on an AppleShare volume. IC handles internet downloads and email attachments.

All the same, don't trust in Mac filename association mapping. If the file has a blank icon and you think that it is a valid Excel or HTML file, try opening it from a suitable application.

If you download FileX using Mac OS X or Windows or Linux, the OS will have a go at understanding FileX; FileX.doc will open in the application assigned for Word documents. You can pass that file between loads of computers and the odds are that the OS or applications will assume that it is an MS Word document. That applies to many different filename extensions.

Try the same with FileX.sit.hqx, a standard compression plus encoding for a vintage Mac file. If you download FileX.sit.hqx, a contemporary computer may treat it as a random binary or text file, or it may attempt to process it with various degrees of success. Then you, using the wonders of networks or physical media, transfer it to your vintage Mac. At that point, you may have something with a blank icon called FileX, FileX.sit or FileX.sit.hqx on your vintage Mac disk.

If it is called FileX.sit or FileX.sit.hqx, ignore the blank icon and use your favourite sit and hqx processors to unravel the file. If it is called FileX and is completely useless, return to the computer that you used for the initial download. Make copies of FileX.sit.hqx called FileX.sit.txt and FileX.sit.xxx, then repeat the file transfer process to the vintage Mac.

The version called FileX.sit.txt should have been treated as an ASCII text file during transfers. Rename it as FileX.sit.hqx and try to unpack it.

The version called FileX.sit.xxx should have been treated as a binary file during transfers. Rename it as FileX.sit.hqx and try to unpack it.

If you are still struggling, try a few files from different sites. Your problems may be more complex than unpacking files based on filename extension.

And if you are downloading loads of files that cannot be identified after trying all of the above, test out one of the utilities that assigns file mapping post download. I'll leave it to others to suggest.

 

Charlieman

Well-known member
Brett B wrote:

I have been having a recurring problem for quite a while and was wondering if I should just deal with it, or if there is actually a fix.
It sounds self inflicted. Have you run something on Mac OS 8 upwards that you didn't run on System 7?

Do the Mac OS 8 devices connect to a network share that earliers do not?

 

Brett B.

Well-known member
Do the files "lose" association (ie behavioural change), or are they ones that you have downloaded from the internet?
Both. Couple examples: several disk image files that I created 10+ years ago, and have stored on the same computer except for short periods when the operating system was reloaded and they were transferred to an external drive. They still work fine and I can mount them as images, however, blank page icon. Other disk image files work fine and still have their proper icon. (These are stored on a Beige G3 running 9.2.2.)

Another one: I had a floppy disk that contained a Word document that I created years ago. It had the proper Word icon when it was on the floppy, but when I copied it to the desktop on my LC630, the duplicate file now has a blank page icon after rebooting the computer. Still opens in Word and does not appear to have been corrupted.

I am not renaming any of these files, if they actually had a DOS file extension, I left it alone. Although most of this stuff I am having a problem with does not have one.

FWIW, I can open Word (for example) and create a new document, save it, and that new file will have the proper icon.

It sounds self inflicted. Have you run something on Mac OS 8 upwards that you didn't run on System 7?
Not that I can recall, however, my system 7 usage is so infrequent these days that I can't say for sure.

Do the Mac OS 8 devices connect to a network share that earliers do not?
No, if the machine in question has a network card, it's connected to the same network as everything else, and generally they will connect to ONE share on my Beige G3.

 
Top