Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!uakari.primate.wisc.edu!zazen!wuarchive!waikato.ac.nz!ldo From: ldo@waikato.ac.nz (Lawrence D'Oliveiro, Waikato University) Newsgroups: comp.sys.mac.system Subject: Re: question about file types in 6.0.x Message-ID: <1991Mar20.161141.3176@waikato.ac.nz> Date: 20 Mar 91 03:11:40 GMT References: <66223@eerie.acsu.Buffalo.EDU> <12608@goofy.Apple.COM> Organization: University of Waikato, Hamilton, New Zealand Lines: 44 In article <12608@goofy.Apple.COM>, Greg@AppleLink.Apple.Com (Greg Marriott) suggests clearing a spuriously-set bundle bit in order to solve a problem with incorrect document icons. The trouble is, won't there still be an "application" entry in the desktop database, pointing to the document that had the bundle bit set? This is the entry that says that, when the user double-clicks on a document of type "SFX!", the Finder is to launch the application "SoundEdit". Greg also suggests clearing the "Inited" bit as well, but my impression was all that bit did was tell the Finder that the icon hadn't been assigned a position in its containing window yet. The problem with having that spurious application entry, is that when you try double-clicking on a sound file, the Finder will try to launch "I'll be back", discover it isn't an application, and give you the "application is busy or missing" message. I think this will continue to happen even after you've cleared the bundle bit on "I'll be back". The only easy way to get rid of the spurious application entry is to trash the file it points to. No point trying to duplicate it first in the Finder, as that will just result in another application entry pointing to the duplicate. My technique for deleting the application entry while keeping the file was to do the duplicate with some other file utility. If you're not running MultiFinder, then it's easy enough to clear the bundle bit on the duplicate, quit back to the Finder, and trash the original from there (don't use the file utility to delete the troublesome original, or it'll leave the application entry behind). If you're running MultiFinder, then you have to clear the bundle bit on the duplicate before the Finder sees it. If the volume/folder window containing the file is closed, there's no problem. Otherwise, you have to be quick. Another simple answer: open the offending sound file with SoundEdit (or some other sound-editing program), and save it under a different name. The new copy won't have the bundle bit set. Then trash the original. Lawrence D'Oliveiro fone: +64-71-562-889 Computer Services Dept fax: +64-71-384-066 University of Waikato electric mail: ldo@waikato.ac.nz Hamilton, New Zealand 37^ 47' 26" S, 175^ 19' 7" E, GMT+12:00