On Saturday, April 12, 2003, Keiji Goto wrote: > I am looking for a means to get the filename for > a running application including its extension (if > any) under OS X. Probably I am missing something > and if anyone can point me to a referencial info, > it would be most appreciated. See the Release 7 CD Examples "Long file names in OS X". That demo shows how to do the following: convert FSSpec -> FSRef get name from FSRef as HFSUniStr255 convert HFSUniStr255 -> CFStringRef convert CFStringRef -> Pascal string Robert P.