Path: utzoo!attcan!uunet!snorkelwacker!usc!ucsd!dog.ee.lbl.gov!helios.ee.lbl.gov!ux5.lbl.gov!beard From: beard@ux5.lbl.gov (Patrick C Beard) Newsgroups: comp.unix.aux Subject: Re: Hint on removing strange files Keywords: weird filenames, disinfectant Message-ID: <6504@helios.ee.lbl.gov> Date: 15 Aug 90 16:33:14 GMT References: <2550@sequent.cs.qmw.ac.uk> Sender: usenet@helios.ee.lbl.gov Reply-To: beard@ux5.lbl.gov (Patrick C Beard) Organization: Berkeley Systems, Inc. Lines: 27 X-Local-Date: 15 Aug 90 09:33:14 PDT In article <2550@sequent.cs.qmw.ac.uk> liam@cs.qmw.ac.uk (William Roberts) writes: #Lots of Mac programs produce exotic filenames containing things #like trademark symbols, those curly Fs that people use to #denote folders and so on. A recent case in point is the INIT #that Disinfectant 2.0 installs in your System Folder, which is #called "X Disinfectant INIT" where X is a diamond character (\327) # #The A/UX shells are not 8-bit clean, so they strip off the top #bit, hence # # echo *Disinf* #gives W Disinfectant INIT # #So how do you remove the file that is causing your Mac session #to crash when it loads in this init? Your answer is quite helpful, and I will use it in the future, but I didn't know it when I needed to get back up and running. What I ended up doing was to use Macsbug to break on OpenResFile inside INIT 31. When the failing INIT file (Suitcase* II, * stands for option-2) was opened, I set ResErr to -1 so INIT 31 wouldn't load any INITs from it. This worked. -- ------------------------------------------------------------------------------- - Patrick Beard, Macintosh Programmer (beard@lbl.gov) - - Berkeley Systems, Inc. "..............Good day!" - Paul Harvey - -------------------------------------------------------------------------------