Path: utzoo!attcan!uunet!husc6!rice!uw-beaver!cornell!rochester!pt.cs.cmu.edu!andrew.cmu.edu!gf0c+ From: gf0c+@andrew.cmu.edu (Gregory S. Fox) Newsgroups: comp.sys.mac.programmer Subject: Vol # of Launched APPL? Message-ID: Date: 25 Jan 89 16:44:14 GMT Organization: Carnegie Mellon, Pittsburgh, PA Lines: 16 Greetings... The situation: An application, a configuration file, and a preferences file. The application and the configuration file are in Folder A, the pref file in Folder B. Double click the config file, the appl launches without difficulty. Double click the pref file, and the default dir is Folder B, so although the appl is launched, it can't find the config file. Sort of a fox, goat, cabbage problem. The question: How do you determine the directory that the application resides in, _regardless of the location of the document that launched it_??? I've pondered this one for a while. It seems like a worthwhile thing to know, so if I figure it out first, I'll post the answer myself. -Greg