Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!think.com!hsdndev!dartvax!eleazar.dartmouth.edu!llama From: llama@eleazar.dartmouth.edu (Joe Francis) Newsgroups: comp.sys.mac.programmer Subject: Re: Standard File and Working directories... Message-ID: <1991Jun26.084825.9019@dartvax.dartmouth.edu> Date: 26 Jun 91 08:48:25 GMT References: Sender: news@dartvax.dartmouth.edu (The News Manager) Organization: Dartmouth College, Hanover, NH Lines: 24 chuck@brain.UUCP (Chuck Shotton) writes: >Given the raft of Tech Notes on the subject, and the general noise concerning >them, I get the impression that Working Directories have fallen from grace. >Do they serve a purpose anymore? Why would I ever use one? (This IS a serious >question.) In answer to why would you ever use one... Before there were the new high level file manager calls (doc'd in a tech note, then put in IM VI), the only way I know of to take a Volume Name, Dir ID, and File Name and manage to open that file is to open a working directory. I would LOVE to be proven wrong on this, so please post any alternatives (given the above assumptions). They high level HFS call HOpen, (TN 218, IM VI) takes a Dir ID directly. The tech note indicates that the call is provided in glue for MPW 3.0+, so presumeably it will work with any HFS system. What I want to know is: does this call result in working directories being opened behind the scenes? If so, are they disposed of properly? ---------------------------------------------------------------------------- "Read My Lips: No Nude Texans!" - George Bush clearing up a misunderstanding